catch-all exceptions and print a more colorful message
This commit is contained in:
@@ -517,4 +517,10 @@ def list_worlds():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
multiprocessing.freeze_support()
|
multiprocessing.freeze_support()
|
||||||
|
try:
|
||||||
main()
|
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:""")
|
||||||
|
|||||||
Reference in New Issue
Block a user