RegisterWebhookSender registers a function to handle webhook sending.
(sender WebhookSender)
| 105 | |
| 106 | // RegisterWebhookSender registers a function to handle webhook sending. |
| 107 | func RegisterWebhookSender(sender WebhookSender) { |
| 108 | webhookSender = sender |
| 109 | } |
| 110 | |
| 111 | // NotifyError sends an error notification through the configured notification system. |
| 112 | // It logs the error locally and sends a notification via Slack (if configured). |
no outgoing calls