Skip to content

Commit

Permalink
[Alerts] Improve message upon receiving unhandled event (#5578)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanburman committed May 16, 2024
1 parent e5eb3b8 commit b3bc6f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/api/crud/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,9 @@ def process_event(
session, project, name, event_data
)
except KeyError:
logger.warn("Received unknown event", project=project, name=event_name)
logger.debug(
"Received event has no associated alert",
project=project,
name=event_name,
)
return

0 comments on commit b3bc6f6

Please sign in to comment.