chore: enable print logs for background workers when in DEBUG mode (#1357)
This commit is contained in:
parent
bfac39f1bc
commit
33cfbbf153
9 changed files with 27 additions and 1 deletions
|
|
@ -31,4 +31,7 @@ def magic_link(email, key, token, current_site):
|
|||
return
|
||||
except Exception as e:
|
||||
capture_exception(e)
|
||||
# Print logs if in DEBUG mode
|
||||
if settings.DEBUG:
|
||||
print(e)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue