woops
This commit is contained in:
parent
a88075f2dc
commit
2ff7a26bf1
@ -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}"
|
Loading…
Reference in New Issue
Block a user