Skip to content

Commit c337c86

Browse files
Removes dead handler None check
1 parent b7a43e2 commit c337c86

File tree

1 file changed

+0
-3
lines changed
  • src/sentry/notifications/notification_action

1 file changed

+0
-3
lines changed

src/sentry/notifications/notification_action/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ def issue_notification_data_factory(invocation: ActionInvocation) -> IssueNotifi
118118
event_data = invocation.event_data
119119

120120
handler = issue_alert_handler_registry.get(action.type)
121-
if handler is None:
122-
raise ValueError(f"No issue alert handler found for action type: {action.type}")
123-
124121
rule_instance = handler.create_rule_instance_from_action(
125122
action=action,
126123
detector=detector,

0 commit comments

Comments
 (0)