Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danpaquin/coinbasepro-python
/ on_error
Method
on_error
cbpro/websocket_client.py:139–142 ·
view source on GitHub ↗
(self, e, data=None)
Source
from the content-addressed store, hash-verified
137
self.mongo_collection.insert_one(msg)
138
139
def
on_error(self, e, data=None):
140
self.error = e
141
self.stop = True
142
print(
'{} - data: {}'
.format(e, data))
143
144
145
if
__name__ ==
"__main__"
:
Callers
1
_listen
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected