mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Add debug logging
This commit is contained in:
parent
82c0452f55
commit
67d465b94c
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user