Skip to content

Commit faf4625

Browse files
authored
Refine error logs when sending pong for dYdX (#2184)
1 parent b3432d4 commit faf4625

File tree

1 file changed

+1
-1
lines changed
  • nautilus_trader/adapters/dydx/websocket

1 file changed

+1
-1
lines changed

nautilus_trader/adapters/dydx/websocket/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ async def send_pong(self, raw: bytes) -> None:
200200
try:
201201
await self._client.send_pong(raw)
202202
except WebSocketClientError as e:
203-
self._log.error(str(e))
203+
self._log.error(f"Failed to send pong: {e}")
204204

205205
async def _reconnect_guard(self) -> None:
206206
"""

0 commit comments

Comments
 (0)