Add debug logging

This commit is contained in:
Andrew 2022-09-12 15:36:13 -04:00
parent 82c0452f55
commit 67d465b94c

View File

@ -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