pull/1330/merge
Drew Perttula 2025-07-10 10:30:44 +02:00 committed by GitHub
commit a75d19df29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -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