Skip to content

Commit

Permalink
fix: await even if error
Browse files Browse the repository at this point in the history
  • Loading branch information
motorina0 committed Jun 30, 2023
1 parent 1601f71 commit 80b86bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions router.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ async def nostr_to_client(self):
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):
Expand Down

0 comments on commit 80b86bf

Please sign in to comment.