Skip to main content

Module notify

Module notify 

Source
Expand description

Error notifications to a Mattermost incoming webhook (MATTERMOST_ERROR_WEBHOOK). At most one message per minute is sent; further errors in that window are counted and reported with the next one.

Functionsยง

init
Installs the notifier if a webhook is configured. Safe to call once.
report_error
Reports an internal error. Never blocks and never fails.