fixes-вуигп
This commit is contained in:
parent
f8b00cc1b4
commit
34b7d0021d
|
@ -4,7 +4,7 @@ from settings import PORT
|
||||||
|
|
||||||
|
|
||||||
def exception_handler(exception_type, exception, traceback, debug_hook=sys.excepthook):
|
def exception_handler(exception_type, exception, traceback, debug_hook=sys.excepthook):
|
||||||
print(traceback)
|
print(vars(traceback))
|
||||||
print("%s: %s" % (exception_type.__name__, exception))
|
print("%s: %s" % (exception_type.__name__, exception))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user