MCPcopy Index your code
hub / github.com/SkyworkAI/DeepResearchAgent / on_error

Function on_error

tests/test_binance.py:48–49  ·  view source on GitHub ↗
(ws, error)

Source from the content-addressed store, hash-verified

46 pass
47
48 def on_error(ws, error):
49 print(f"[Spot] Error: {error}")
50
51 def on_close(ws):
52 print("[Spot] WebSocket closed")

Callers

nothing calls this directly

Calls 1

printFunction · 0.85

Tested by

no test coverage detected