Commit b64e584c by John Zhang

restoring the entry point.

1 parent a5e7fbbc
Showing with 2 additions and 7 deletions
......@@ -15,15 +15,10 @@ def entry_point(argv):
main(argv)
except Exit, e:
return e.code
except ReturnException, e:
os.write(2, "ERROR: Caught ReturnException in entry_point. result: %s, target: %s\n" %
(e._result, e._target))
return 1
except Exception, e:
os.write(2, "ERROR: Exception thrown during execution: " + str(e) + "\n")
os.write(2, "ERROR: %s thrown during execution.\n" % e)
return 1
os.write(2, "ERROR: Program exited without raising the Exit exception.\n")
return 1
return 0
# _____ Define and setup target ___
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!