diff --git a/config/notifiers.go b/config/notifiers.go index 43381ddc5d..c82828d372 100644 --- a/config/notifiers.go +++ b/config/notifiers.go @@ -482,7 +482,7 @@ func (c *OpsGenieConfig) UnmarshalYAML(unmarshal func(interface{}) error) error for _, r := range c.Responders { if r.ID == "" && r.Username == "" && r.Name == "" { - return errors.Errorf("OpsGenieConfig responder %v has to have at least one of id, username or name specified") + return errors.Errorf("OpsGenieConfig responder %v has to have at least one of id, username or name specified", r) } r.Type = strings.ToLower(r.Type)