Rename exception message field

This commit is contained in:
space-nuko 2023-05-27 02:02:11 -05:00
parent 52c9590b7b
commit 03f2d0a764
1 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ def recursive_execute(server, prompt, outputs, current_item, extra_data, execute
error_details = { error_details = {
"node_id": unique_id, "node_id": unique_id,
"message": str(ex), "exception_message": str(ex),
"exception_type": exception_type, "exception_type": exception_type,
"traceback": traceback.format_tb(tb), "traceback": traceback.format_tb(tb),
"current_inputs": input_data_formatted, "current_inputs": input_data_formatted,
@ -282,7 +282,7 @@ class PromptExecutor:
"node_type": class_type, "node_type": class_type,
"executed": list(executed), "executed": list(executed),
"message": error["message"], "exception_message": error["exception_message"],
"exception_type": error["exception_type"], "exception_type": error["exception_type"],
"traceback": error["traceback"], "traceback": error["traceback"],
"current_inputs": error["current_inputs"], "current_inputs": error["current_inputs"],