pagerduty

This commit is contained in:
Alex Holliday committed 2026-02-16 21:58:58 +00:00
1 parent 6f55e4934f
commit 2cd2a6d917
2 files changed
+109

No files matched your search

@@ -99,6 +99,15 @@ export class NotificationsService implements INotificationsService {
return await this.matrixProvider.sendMessage(notification, notificationMessage);
}
if (notification.type === "pager_duty" && this.pagerDutyProvider.sendMessage && notificationMessage) {
this.logger.info({
message: "[NEW] Using sendMessage for pagerduty",
service: SERVICE_NAME,
method: "send",
});
return await this.pagerDutyProvider.sendMessage(notification, notificationMessage);
}
// Fallback to existing sendAlert for all providers
switch (notification.type) {
case "email":