diff options
| author | sigoden <sigoden@gmail.com> | 2024-11-30 18:15:41 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-30 18:15:41 +0800 |
| commit | 2afd0fc19e3597d7736a6c7a12617f2fc25752c6 (patch) | |
| tree | 8e3311fa1089b371cb1c8bf4061facd98aa46569 /scripts/run-tool.py | |
| parent | d2a537c3743963bfb6add44731dd3f3f6c785a2e (diff) | |
| download | llm-functions-docker-2afd0fc19e3597d7736a6c7a12617f2fc25752c6.tar.gz | |
refactor: error handling for run-tool/run-agent scripts (#133)
Diffstat (limited to 'scripts/run-tool.py')
| -rwxr-xr-x | scripts/run-tool.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/run-tool.py b/scripts/run-tool.py index 59f9154..a64ce0e 100755 --- a/scripts/run-tool.py +++ b/scripts/run-tool.py @@ -153,8 +153,4 @@ def dump_result(): if __name__ == "__main__": - try: - main() - except Exception as e: - print(e, file=sys.stderr) - sys.exit(1) + main()
\ No newline at end of file |
