diff --git a/functions/notify_teams.py b/functions/notify_teams.py index 85b153f4..4b07be45 100644 --- a/functions/notify_teams.py +++ b/functions/notify_teams.py @@ -92,5 +92,5 @@ def is_cloudwatch_alarm(message): return True else: return False - except ValueError as e: + except KeyError as e: return False