Alerting: Remove duplicate error message (#51515)

pull/50914/head^2
George Robinson 3 years ago committed by GitHub
parent 683bbc7373
commit ed56755dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/services/ngalert/image/service.go

@ -99,7 +99,7 @@ func (s *ScreenshotImageService) NewImage(ctx context.Context, r *models.AlertRu
// TODO: Check for screenshot upload failures. These images should still be
// stored because we have a local disk path that could be useful.
if err != nil {
return nil, fmt.Errorf("failed to take screenshot: %w", err)
return nil, err
}
v := models.Image{

Loading…
Cancel
Save