General Error Handling
In the "general error handling" section above, it says to catch all exceptions, you use the following code:
However, it originally was:
Toggle line numbers
1 try:
2 untrusted.execute()
3 except Exception as e:
4 write_to_page( "<p>Error: %s</p>" % str(e) )