0

catch-all exceptions and print a more colorful message

This commit is contained in:
Andrew Brown
2011-11-07 20:36:00 -05:00
parent 49f8e1a09f
commit d589369ea3

View File

@@ -517,4 +517,10 @@ def list_worlds():
if __name__ == "__main__":
multiprocessing.freeze_support()
main()
try:
main()
except Exception, e:
logging.exception("""An error has occurred. This may be a bug. Please let us know!
See http://docs.overviewer.org/en/latest/index.html#help
This is the error that occurred:""")