We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 232bce0 commit 3532affCopy full SHA for 3532aff
pyinjective/async_client.py
@@ -176,7 +176,8 @@ async def sync_timeout_height(self):
176
try:
177
block = await self.get_latest_block()
178
self.timeout_height = block.block.header.height + DEFAULT_TIMEOUTHEIGHT
179
- except Exception:
+ except Exception as e:
180
+ logging.debug("error while fetching latest block, setting timeout height to 0:{}".format(e))
181
self.timeout_height = 0
182
183
# cookie helper methods
0 commit comments