Skip to content

Commit ab8a6c7

Browse files
committed
debug message
1 parent 89e1396 commit ab8a6c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

coderd/notifications/notifier.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ func (n *notifier) ensureRunning(ctx context.Context) (bool, error) {
113113
return false, xerrors.Errorf("unmarshal notifications settings")
114114
}
115115
}
116+
117+
if settings.NotifierPaused {
118+
n.log.Debug(ctx, "notifier is paused, notifications will not be delivered")
119+
}
116120
return !settings.NotifierPaused, nil
117121
}
118122

0 commit comments

Comments
 (0)