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)