Mercurial > libervia-backend
diff frontends/src/quick_frontend/quick_app.py @ 1063:6ec513ad92c2
frontends: async failures are more detailed (full class name + error message)
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 07 Jun 2014 15:39:20 +0200 |
parents | aa15453ec54d |
children | a47995155e55 |
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py Sat Jun 07 15:20:39 2014 +0200 +++ b/frontends/src/quick_frontend/quick_app.py Sat Jun 07 15:39:20 2014 +0200 @@ -287,7 +287,7 @@ if callback is None: callback = lambda: None if errback is None: - errback = lambda failure: self.showDialog(unicode(failure), _(u"sendMessage Error"), "error") + errback = lambda failure: self.showDialog(failure.fullname, failure.message, "error") self.bridge.sendMessage(to_jid, message, subject, mess_type, extra, profile_key, callback=callback, errback=errback) def newAlert(self, msg, title, alert_type, profile):