refactor: error handling for run-tool/run-agent scripts (#133)
This commit is contained in:
+1
-5
@@ -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()
|
||||
Reference in New Issue
Block a user