mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
Our webhook-errors.log file is riddled with exceptions that are logged when a webhook is incorrectly configured to send data in a non-JSON format. To avoid this, api_key_only_webhook_view now supports an additional argument, notify_bot_owner_on_invalid_json. This argument, when True, will send a PM notification to the bot's owner notifying them of the configuration issue.
8.6 KiB
8.6 KiB