Commit c4959902 authored by Philipp Hörist's avatar Philipp Hörist

Client: Don't pass stream error as error text

parent b22e79b6
Pipeline #5209 passed with stages
in 46 seconds
......@@ -438,7 +438,7 @@ class Client(Observable):
def _on_stream_end(self, _dispatcher, _signal_name, error):
if not self.has_error:
self._set_error(StreamError.STREAM, 'stream-end', error)
self._set_error(StreamError.STREAM, error or 'stream-end')
if not self._stream_close_initiated:
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