Skip to content

Commit

Permalink
debug error
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Jun 4, 2024
1 parent 767c90c commit 715775f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions chunk_replicator/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ def inner(*args, **kwargs):
try:
return fn(*args, **kwargs)
except Exception as err:
print("Error")
print(err)
print()
print(f"Error {err.__class__.__name__}")
print("vvvvv")
import traceback
for line in traceback.format_stack():
print(line.strip())
print("----")
exceptions.append(err)
counter = counter + 1
sleep(wait)
Expand Down

0 comments on commit 715775f

Please sign in to comment.