diff --git a/src/firefighter/slack/views/modals/open.py b/src/firefighter/slack/views/modals/open.py index 85f3489e..789c9dfd 100644 --- a/src/firefighter/slack/views/modals/open.py +++ b/src/firefighter/slack/views/modals/open.py @@ -453,10 +453,10 @@ def get_details_modal_form_class( return incident_types[next(iter(incident_types.keys()))].get("slack_form") if incident_types and incident_type_value is not None: return incident_types[incident_type_value].get("slack_form") - logger.warning(f"No incident type found for {open_incident_context}. Fallback") - return next(iter(next(iter(INCIDENT_TYPES.values())).values())).get( - "slack_form" + logger.debug( + f"No incident type found for {open_incident_context}. No fallback." ) + return None def handle_modal_fn( # type: ignore self,