This commit is contained in:
forest 2021-12-09 13:07:28 -06:00
parent a88075f2dc
commit 2ff7a26bf1

View File

@ -56,7 +56,7 @@ def authorized_as_hub(headers):
def my_exec_info_message(exec_info): def my_exec_info_message(exec_info):
traceback_result = traceback.format_tb(exec_info[2]) traceback_result = traceback.format_tb(exec_info[2])
if isinstance(traceback_result, list) { if isinstance(traceback_result, list):
traceback_result = "\n".join(traceback_result) traceback_result = "\n".join(traceback_result)
}
return f"{exec_info[0].__module__}.{exec_info[0].__name__}: {exec_info[1]}: {traceback_result}" return f"{exec_info[0].__module__}.{exec_info[0].__name__}: {exec_info[1]}: {traceback_result}"