Skip to content

Commit 2b6013c

Browse files
committed
fix(notifications): failed image upload should not stop notification
closes grafana#6638
1 parent 6fa4b8c commit 2b6013c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkg/services/alerting/notifier.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@ func (n *RootNotifier) Notify(context *EvalContext) error {
5555
return nil
5656
}
5757

58-
err = n.uploadImage(context)
59-
if err != nil {
60-
n.log.Error("Failed to upload alert panel image", "error", err)
61-
return err
58+
if err = n.uploadImage(context); err != nil {
59+
n.log.Error("Failed to upload alert panel image.", "error", err)
6260
}
6361

6462
return n.sendNotifications(context, notifiers)

0 commit comments

Comments
 (0)