This commit is contained in:
2023-10-04 01:54:52 +03:00
parent 04c0f3d6e7
commit f8b00cc1b4
6 changed files with 17 additions and 11 deletions

View File

@@ -4,6 +4,7 @@ from settings import PORT
def exception_handler(exception_type, exception, traceback, debug_hook=sys.excepthook):
print(traceback)
print("%s: %s" % (exception_type.__name__, exception))