From 5270f49da55ea7a0043056d224938dd909f5a4a5 Mon Sep 17 00:00:00 2001 From: e-sim-python <71469611+e-sim-python@users.noreply.github.com> Date: Sun, 23 May 2021 05:42:47 +0300 Subject: [PATCH] Update auto_fight.py --- eSim/Fight/auto_fight.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eSim/Fight/auto_fight.py b/eSim/Fight/auto_fight.py index 144d176..46c4029 100644 --- a/eSim/Fight/auto_fight.py +++ b/eSim/Fight/auto_fight.py @@ -1,5 +1,6 @@ import asyncio from random import randint +import traceback import __init__ # For IDLE from Basic.fly import fly @@ -48,7 +49,8 @@ async def auto_fight(server, battle_id="", side="attacker", wep="0", food="", gi await random_sleep(restores_left) except Exception as error: - print("error:", error) + print("------ERROR------\n") + traceback.print_exc() await random_sleep(restores_left)