print email error message
This commit is contained in:
parent
19b08505a2
commit
4e995a970a
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Email:
|
|||
fail_silently=False,
|
||||
)
|
||||
except Exception as e:
|
||||
logger.error(f"send email {email} failed", extra={"exception": e})
|
||||
logger.error(f"send email to {email} failed: {e}", extra={"exception": e})
|
||||
|
||||
@staticmethod
|
||||
def generate_login_email(email: str, action: str) -> tuple[str, str]:
|
||||
|
|
Loading…
Add table
Reference in a new issue