Wed, 02 Sep 2015 18:47:08 +0200
Removed the re-raise in the eric main() function.
eric6.py | file | annotate | diff | comparison | revisions |
--- a/eric6.py Tue Sep 01 18:53:22 2015 +0200 +++ b/eric6.py Wed Sep 02 18:47:08 2015 +0200 @@ -301,26 +301,23 @@ splash.showMessage( QCoreApplication.translate("eric6", "Generating Main Window...")) - try: - mainWindow = UserInterface(app, loc, splash, pluginFile, noopen, - restartArgs) - app.lastWindowClosed.connect(app.quit) - mainWindow.show() - - QTimer.singleShot(0, uiStartUp) - - # generate a graphical error handler - from E5Gui import E5ErrorMessage - eMsg = E5ErrorMessage.qtHandler() - eMsg.setMinimumSize(600, 400) - - # start the event loop - res = app.exec_() - logging.debug("Shutting down, result {0:d}".format(res)) - logging.shutdown() - sys.exit(res) - except Exception as err: - raise err + mainWindow = UserInterface(app, loc, splash, pluginFile, noopen, + restartArgs) + app.lastWindowClosed.connect(app.quit) + mainWindow.show() + + QTimer.singleShot(0, uiStartUp) + + # generate a graphical error handler + from E5Gui import E5ErrorMessage + eMsg = E5ErrorMessage.qtHandler() + eMsg.setMinimumSize(600, 400) + + # start the event loop + res = app.exec_() + logging.debug("Shutting down, result {0:d}".format(res)) + logging.shutdown() + sys.exit(res) if __name__ == '__main__': main()