mirror of https://github.com/caronc/apprise
if zulip send fails, log the reason at level=warning
parent
d0e9fb9e89
commit
a14b88d109
|
@ -284,7 +284,7 @@ class NotifyZulip(NotifyBase):
|
||||||
self.logger.debug('Zulip POST URL: %s (cert_verify=%r)' % (
|
self.logger.debug('Zulip POST URL: %s (cert_verify=%r)' % (
|
||||||
url, self.verify_certificate,
|
url, self.verify_certificate,
|
||||||
))
|
))
|
||||||
self.logger.debug('Zulip Payload: %s' % str(payload))
|
self.logger.warning('Zulip Payload: %s' % str(payload))
|
||||||
|
|
||||||
# Always call throttle before any remote server i/o is made
|
# Always call throttle before any remote server i/o is made
|
||||||
self.throttle()
|
self.throttle()
|
||||||
|
@ -311,8 +311,8 @@ class NotifyZulip(NotifyBase):
|
||||||
', ' if status_str else '',
|
', ' if status_str else '',
|
||||||
r.status_code))
|
r.status_code))
|
||||||
|
|
||||||
self.logger.debug(
|
self.logger.warning('Response Details:\r\n{}'.format(
|
||||||
'Response Details:\r\n{}'.format(r.content))
|
r.content))
|
||||||
|
|
||||||
# Mark our failure
|
# Mark our failure
|
||||||
has_error = True
|
has_error = True
|
||||||
|
|
Loading…
Reference in New Issue