mirror of
https://github.com/caronc/apprise.git
synced 2025-06-22 02:31:41 +02:00
mailgun http error code lookup bugfix
This commit is contained in:
parent
fec6de1403
commit
f18b7c83ac
@ -535,7 +535,7 @@ class NotifyMailgun(NotifyBase):
|
|||||||
# We had a problem
|
# We had a problem
|
||||||
status_str = \
|
status_str = \
|
||||||
NotifyBase.http_response_code_lookup(
|
NotifyBase.http_response_code_lookup(
|
||||||
r.status_code, MAILGUN_API_LOOKUP)
|
r.status_code, MAILGUN_HTTP_ERROR_MAP)
|
||||||
|
|
||||||
self.logger.warning(
|
self.logger.warning(
|
||||||
'Failed to send Mailgun notification to {}: '
|
'Failed to send Mailgun notification to {}: '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user