From 048713a145ac52d7e6fd94cfeda075e9d25a9393 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Wed, 20 Jul 2022 09:01:25 -0400 Subject: [PATCH] Update notifications.py --- scripts/utils/notifications.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/utils/notifications.py b/scripts/utils/notifications.py index f451b5b..c3ce783 100644 --- a/scripts/utils/notifications.py +++ b/scripts/utils/notifications.py @@ -58,7 +58,8 @@ def sendAppriseNotifications(species, confidence, path, date, time, week, latitu image_url = 'https://farm'+str(data["farm"])+'.static.flickr.com/'+str(data["server"])+'/'+str(data["id"])+'_'+str(data["secret"])+'_n.jpg' flickr_images[comName] = image_url - except ValueError: + except Exception as e: + print("FLICKR API ERROR: "+e) image_url = "" else: image_url = flickr_images[comName]