mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Handle unknown pivotal events, and log
(imported from commit f177d7d0d8f4c09b2b94bb23973cd90ca8930f3b)
This commit is contained in:
committed by
Zev Benjamin
parent
963b62873d
commit
edbde0b78b
@@ -328,6 +328,9 @@ def api_pivotal_webhook(request):
|
||||
estimate,
|
||||
issue_desc,
|
||||
more_info)
|
||||
else:
|
||||
logging.warning("Received Pivotal event we did not understand: %s" % (event_type, ))
|
||||
return json_success()
|
||||
|
||||
except AttributeError:
|
||||
return json_error("Failed to extract data from Pivotal XML response")
|
||||
|
||||
Reference in New Issue
Block a user