Skip to content

Commit fadc61d

Browse files
committed
Downgrade to debug
1 parent 4cbb18a commit fadc61d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

async_substrate_interface/async_substrate.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,8 @@ async def _start_receiving(self, ws: ClientConnection) -> Exception:
719719
if not fut.done():
720720
fut.set_exception(e)
721721
fut.cancel()
722+
else:
723+
logger.debug("Timeout occurred. Reconnecting.")
722724
return e
723725

724726
async def _start_sending(self, ws) -> Exception:
@@ -747,6 +749,8 @@ async def _start_sending(self, ws) -> Exception:
747749
for i in self._received.keys():
748750
self._received[i].set_exception(e)
749751
self._received[i].cancel()
752+
else:
753+
logger.debug("Timeout occurred. Reconnecting.")
750754
return e
751755

752756
async def send(self, payload: dict) -> str:

0 commit comments

Comments
 (0)