0

Don't print scary bug warning on ctrl-c

This commit is contained in:
Andrew Chin
2011-11-07 21:49:00 -05:00
parent d59410123d
commit d18df1e694

View File

@@ -527,6 +527,9 @@ if __name__ == "__main__":
try: try:
main() main()
except Exception, e: except Exception, e:
if e.message == "Exiting":
logging.info("Exiting...")
sys.exit(0)
logging.exception("""An error has occurred. This may be a bug. Please let us know! 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 See http://docs.overviewer.org/en/latest/index.html#help