Fix issue when error happens before wx is even initialized traceback is never set
This commit is contained in:
@@ -43,7 +43,8 @@ class ErrorHandler(object):
|
||||
|
||||
if cls.__parent is None:
|
||||
app = wx.App(False)
|
||||
ErrorFrame(None)
|
||||
cls.__frame = ErrorFrame(None)
|
||||
cls.__frame.addException("".join(t))
|
||||
app.MainLoop()
|
||||
sys.exit()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user