aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/protocols/websockets.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/protocols/websockets.py')
-rw-r--r--pathod/protocols/websockets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/protocols/websockets.py b/pathod/protocols/websockets.py
index 134d27bc..2b60e618 100644
--- a/pathod/protocols/websockets.py
+++ b/pathod/protocols/websockets.py
@@ -18,7 +18,7 @@ class WebsocketsProtocol:
frm = websockets.Frame.from_file(self.pathod_handler.rfile)
except NetlibException as e:
lg("Error reading websocket frame: %s" % e)
- break
+ return None, None
ended = time.time()
lg(frm.human_readable())
retlog = dict(