From 9294284cb512232114041357b3be590b0b95dbfe Mon Sep 17 00:00:00 2001 From: Mitchell Laferla Date: Thu, 29 Jun 2023 16:03:12 -0700 Subject: [PATCH] added paige and cooper to email chain --- monitoring_weekly/weekly_insights_brand_monitoring.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monitoring_weekly/weekly_insights_brand_monitoring.py b/monitoring_weekly/weekly_insights_brand_monitoring.py index 7bc6ad0..b9b61b9 100644 --- a/monitoring_weekly/weekly_insights_brand_monitoring.py +++ b/monitoring_weekly/weekly_insights_brand_monitoring.py @@ -205,7 +205,7 @@ def main(mytimer: func.TimerRequest) -> None: """ try: sp.transmissions.send( - recipients=['mlaferla@headset.io'], + recipients=['mlaferla@headset.io', 'plong@headset.io', 'cooper@headset.io'], html=msgHtml, from_email='analytics-monitor@headset.io', subject="Insights Brand Monitoring", @@ -222,6 +222,7 @@ def main(mytimer: func.TimerRequest) -> None: } ] ) + except SparkPostAPIException as err: # http response status code print(err.status)