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: try:
if requests.head(url).status_code != 404: if requests.head(url).status_code != 404:
profile_url = url profile_url = url
except: except Exception as e:
profile_url = "/static/assets/images/faces-clipart/pic-3.png" logger.debug(f"Could not pull resource from Gravatar with error {e}")
return profile_url return profile_url