diff -r 32f721a2fdc6 -r 66be66ec3afc eric6.py --- a/eric6.py Wed Sep 02 18:44:31 2015 +0200 +++ b/eric6.py Wed Sep 02 18:46:11 2015 +0200 @@ -327,27 +327,24 @@ 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 - inMainLoop = True - res = app.exec_() - logging.debug("Shutting down, result {0:d}".format(res)) - logging.shutdown() - sys.exit(res) - except: - raise + 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 + inMainLoop = True + res = app.exec_() + logging.debug("Shutting down, result {0:d}".format(res)) + logging.shutdown() + sys.exit(res) if __name__ == '__main__': main()