Commits

riaan  committed 5d3dbc1

Changed to use excepthook instead of stderr for displaying unhandled exceptions

  • Participants
  • Parent commits eb08c8c

Comments (0)

Files changed (1)

         Utils.showTip(self.main.editor)
 
         if Preferences.logStdStreams:
-            sys.stderr = Utils.ErrorLoggerPF()
             sys.stdout = Utils.OutputLoggerPF()
+            sys.excepthook = Utils.wxPyExceptHook
 
         if Preferences.exWorkingDirectory:
             try: