Show More
@@ -188,11 +188,13 b' class ZMQStreamHandler(websocket.WebSocketHandler):' | |||||
188 | try: |
|
188 | try: | |
189 | msg = self._reserialize_reply(msg_list) |
|
189 | msg = self._reserialize_reply(msg_list) | |
190 | except: |
|
190 | except: | |
191 |
self.application |
|
191 | self.application.log.critical("Malformed message: %r" % msg_list) | |
192 | else: |
|
192 | else: | |
193 | self.write_message(msg) |
|
193 | self.write_message(msg) | |
194 |
|
194 | |||
|
195 | ||||
195 | class AuthenticatedZMQStreamHandler(ZMQStreamHandler): |
|
196 | class AuthenticatedZMQStreamHandler(ZMQStreamHandler): | |
|
197 | ||||
196 | def open(self, kernel_id): |
|
198 | def open(self, kernel_id): | |
197 | self.kernel_id = kernel_id.decode('ascii') |
|
199 | self.kernel_id = kernel_id.decode('ascii') | |
198 | try: |
|
200 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now