fix: await even if error

This commit is contained in:
Vlad Stan 2023-06-30 12:05:28 +03:00
parent 1601f71b03
commit 80b86bf00c

View file

@ -56,10 +56,9 @@ class NostrRouter:
try:
await self._handle_subscriptions()
self._handle_notices()
await asyncio.sleep(0.1)
except Exception as e:
logger.debug(f"Failed to handle response for client: '{str(e)}'.")
await asyncio.sleep(0.1)
async def start(self):