mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-21 04:11:06 -05:00
Fixes error message formatting
This commit is contained in:
committed by
medmunds
parent
99a9bd2c6e
commit
0394df47a0
@@ -106,7 +106,7 @@ class DjrillBackend(BaseEmailBackend):
|
|||||||
|
|
||||||
if djrill_it.status_code != 200:
|
if djrill_it.status_code != 200:
|
||||||
if not self.fail_silently:
|
if not self.fail_silently:
|
||||||
raise DjrillBackendHTTPError(status_code=djrill_it.status_code, "Failed to send a message to %s, from %s" % (self.recipients, self.sender))
|
raise DjrillBackendHTTPError(status_code=djrill_it.status_code, log_message="Failed to send a message to %s, from %s" % (self.recipients, self.sender))
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user