refactor: error handling for run-tool/run-agent scripts (#133)

This commit is contained in:
sigoden
2024-11-30 18:15:41 +08:00
committed by GitHub
parent d2a537c374
commit 2afd0fc19e
5 changed files with 11 additions and 27 deletions
+1 -5
View File
@@ -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()