frontends: async failures are more detailed (full class name + error message)
This commit is contained in:
parent
b9106c65d6
commit
a5dd35ce65
1 changed files with 18 additions and 20 deletions
|
|
@ -256,8 +256,8 @@ class MainWindow(wx.Frame, QuickApp):
|
|||
dlg.ShowModal()
|
||||
dlg.Destroy()
|
||||
def action_eb(failure):
|
||||
dlg = wx.MessageDialog(self, unicode(failure),
|
||||
_('Error'),
|
||||
dlg = wx.MessageDialog(self, failure.message,
|
||||
failure.fullname,
|
||||
wx.OK | wx.ICON_ERROR
|
||||
)
|
||||
dlg.ShowModal()
|
||||
|
|
@ -411,8 +411,8 @@ class MainWindow(wx.Frame, QuickApp):
|
|||
XMLUI(self, xml_data=params, title=_("Configuration"))
|
||||
|
||||
def failure(error):
|
||||
dlg = wx.MessageDialog(self, unicode(error),
|
||||
_('Error'),
|
||||
dlg = wx.MessageDialog(self, error.message,
|
||||
error.fullname,
|
||||
wx.OK | wx.ICON_ERROR
|
||||
)
|
||||
dlg.ShowModal()
|
||||
|
|
|
|||
Loading…
Reference in a new issue