fix: await even if error
This commit is contained in:
parent
1601f71b03
commit
80b86bf00c
1 changed files with 1 additions and 2 deletions
|
|
@ -56,10 +56,9 @@ class NostrRouter:
|
||||||
try:
|
try:
|
||||||
await self._handle_subscriptions()
|
await self._handle_subscriptions()
|
||||||
self._handle_notices()
|
self._handle_notices()
|
||||||
await asyncio.sleep(0.1)
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.debug(f"Failed to handle response for client: '{str(e)}'.")
|
logger.debug(f"Failed to handle response for client: '{str(e)}'.")
|
||||||
|
await asyncio.sleep(0.1)
|
||||||
|
|
||||||
|
|
||||||
async def start(self):
|
async def start(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue