Browse Source

Upgrade from Info -> Warn

pull/252/head
Michael Kaye 7 years ago
parent
commit
0541dbe629
  1. 4
      src/github.com/matrix-org/go-neb/services/alertmanager/alertmanager.go

4
src/github.com/matrix-org/go-neb/services/alertmanager/alertmanager.go

@ -132,7 +132,7 @@ func (s *Service) Register(oldService types.Service, client *gomatrix.Client) er
log.WithFields(log.Fields{
"line": err.line,
"description": err.description,
}).Info("plain text Template Error")
}).Warn("plain text Template Error")
return fmt.Errorf("plain text template is invalid")
}
}
@ -143,7 +143,7 @@ func (s *Service) Register(oldService types.Service, client *gomatrix.Client) er
log.WithFields(log.Fields{
"line": err.line,
"description": err.description,
}).Info("HTML Template Error")
}).Warn("HTML Template Error")
return fmt.Errorf("html template is invalid")
}
}

Loading…
Cancel
Save