Commit 2b8b5a22 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Dispatcher: Pass str as error instead of exception

parent 01b4b9c8
Pipeline #8350 passed with stages
in 4 minutes and 56 seconds
......@@ -241,7 +241,7 @@ class StanzaDispatcher(Observable):
except (ExpatError, ValueError) as error:
self._log.error('XML parsing error: %s', error)
self.notify('parsing-error', error)
self.notify('parsing-error', str(error))
# end stream:stream tag received
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