diff --git a/app/clients/cloudwatch/aws_cloudwatch.py b/app/clients/cloudwatch/aws_cloudwatch.py index 9c1d1e61c..80ba88f87 100644 --- a/app/clients/cloudwatch/aws_cloudwatch.py +++ b/app/clients/cloudwatch/aws_cloudwatch.py @@ -127,7 +127,7 @@ class AwsCloudwatchClient(Client): return ( "failure", message["delivery"]["providerResponse"], - message["delivery"]["phoneCarrier"], + message["delivery"].get("phoneCarrier", "Unknown Carrier"), ) if time_now > (created_at + timedelta(hours=3)):