eric6.py

branch
6_0_x
changeset 4420
10b4c1e4d1cf
parent 4281
ea5708ccfefe
child 4421
c6feadf410a4
--- 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()

eric ide

mercurial