@ -49,9 +49,7 @@ local_headers = [
]
def exception_handler(exception_type, exc, traceback, debug_hook=sys.excepthook):
print(traceback)
print("%s: %s" % (exc.__name__, exc))
def exception_handler(_et, exc, _tb):
logger.error(..., exc_info=(type(exc), exc, exc.__traceback__))
The note is not visible to the blocked user.