AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
add final exception handling back
yousefissa570c161e5e78
diff --git a/scripts/main.py b/scripts/main.pyindex a1c08018a4..86afec397b 100644--- a/scripts/main.py+++ b/scripts/main.py@@ -98,6 +98,10 @@ def print_assistant_thoughts(assistant_reply):except json.decoder.JSONDecodeError:print_to_console("Error: Invalid JSON\n", Fore.RED, assistant_reply)+ # All other errors, return "Error: + error message"+ except Exception as e:+ call_stack = traceback.format_exc()+ print_to_console("Error: \n", Fore.RED, call_stack)def load_variables(config_file="config.yaml"):