mirror of https://github.com/caronc/apprise
Merge a14b88d109
into 91faed0c6d
commit
a75d19df29
|
@ -252,7 +252,7 @@ class NotifyZulip(NotifyBase):
|
||||||
|
|
||||||
# prepare JSON Object
|
# prepare JSON Object
|
||||||
payload = {
|
payload = {
|
||||||
'subject': title,
|
'topic': title,
|
||||||
'content': body,
|
'content': body,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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