Commit c4292b43 by bergquist

alerting: only log when screenshot been uploaded

parent ce88e4b9
...@@ -104,7 +104,10 @@ func (n *notificationService) uploadImage(context *EvalContext) (err error) { ...@@ -104,7 +104,10 @@ func (n *notificationService) uploadImage(context *EvalContext) (err error) {
return err return err
} }
n.log.Info("uploaded", "url", context.ImagePublicUrl) if context.ImagePublicUrl != "" {
n.log.Info("uploaded screenshot of alert to external image store", "url", context.ImagePublicUrl)
}
return nil return nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment