Skip to content

Commit

Permalink
simplify exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
cl0ete committed Dec 10, 2024
1 parent a29b1c8 commit 79f3ad5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions waypoint/services/nats_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,6 @@ async def event_generator(
state=state,
start_time=start_time,
)
except asyncio.CancelledError:
logger.debug("Event generator cancelled")
stop_event.set()
except Exception as e: # pylint: disable=W0718
logger.exception("Error processing events: {}", e)

Expand Down

0 comments on commit 79f3ad5

Please sign in to comment.