forked from DGNum/gestioCOF
Clearer error message
This commit is contained in:
parent
c319780ab5
commit
ab89002cfc
1 changed files with 3 additions and 1 deletions
|
@ -461,7 +461,9 @@ def notify_new_member(request, member: User):
|
|||
except SMTPRecipientsRefused:
|
||||
messages.error(
|
||||
request,
|
||||
"Error lors de l'envoi de l'email de bienvenue à {}".format(member.email),
|
||||
"Error lors de l'envoi de l'email de bienvenue à {} ({})".format(
|
||||
member, member.email
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue