Commit b6e6169b authored by Dan Pascu's avatar Dan Pascu

Use a generic fail reason when none is provided

parent 593c6e81
......@@ -838,7 +838,7 @@ class BlinkSession(QObject):
if notification.data.code == 487:
reason = 'Call cancelled'
else:
reason = notification.data.reason
reason = notification.data.reason or 'Call failed'
else:
reason = notification.data.failure_reason
self._terminate(reason=reason, error=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment