some revert
This commit is contained in:
@@ -178,9 +178,8 @@ class WebSocketApp(object):
|
||||
if six.PY3 and frame.opcode == ABNF.OPCODE_TEXT:
|
||||
data = data.decode("utf-8")
|
||||
self._callback(self.on_message, data)
|
||||
# except Exception as e:
|
||||
# print(e)
|
||||
# self._callback(self.on_error, e)
|
||||
except Exception as e:
|
||||
self._callback(self.on_error, e)
|
||||
finally:
|
||||
if thread:
|
||||
event.set()
|
||||
|
Reference in New Issue
Block a user