Include slack channel ID in error message if message could not be delivered

Signed-off-by: Patrick McDonnell <kc9ddi@gmail.com>
This commit is contained in:
Patrick McDonnell
2025-10-13 09:02:39 +02:00
parent fbb4abef52
commit 097df3fcf3
@@ -148,12 +148,12 @@ export class SlackNotificationProcessor implements NotificationProcessor {
let successCount = 0;
let failureCount = 0;
results.forEach(result => {
results.forEach((result, index) => {
if (result.status === 'fulfilled') {
successCount++;
} else {
this.logger.error(
`Failed to send Slack channel notification: ${result.reason.message}`,
`Failed to send Slack channel notification to ${opts[index].channel}: ${result.reason.message}`,
);
failureCount++;
}