in models/v3/msgs/msgs.go [130:148]
func (n Notifications) SendPromise(e error, backupCh chan error) {
if n.promise == nil {
if e == nil {
return
}
if backupCh != nil {
select {
case backupCh <- e:
default:
}
}
return
}
select {
case n.promise <- e:
default:
slog.Default().Error("Bug: had a Notification promise, but it blocked")
}
}