From 67d465b94ca952e8b4b840cef21c94b38b1d7ad4 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 12 Sep 2022 15:36:13 -0400 Subject: [PATCH] Add debug logging --- app/classes/shared/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/classes/shared/helpers.py b/app/classes/shared/helpers.py index 8d76131a..aa53132e 100644 --- a/app/classes/shared/helpers.py +++ b/app/classes/shared/helpers.py @@ -681,8 +681,8 @@ class Helpers: try: if requests.head(url).status_code != 404: profile_url = url - except: - profile_url = "/static/assets/images/faces-clipart/pic-3.png" + except Exception as e: + logger.debug(f"Could not pull resource from Gravatar with error {e}") return profile_url