log root cause error when reading from provisioning directories

This commit is contained in:
Marcus Efraimsson
2019-02-07 15:46:57 +01:00
parent c71904e326
commit b4267eafb8
3 changed files with 3 additions and 3 deletions
@@ -23,7 +23,7 @@ func (cr *configReader) readConfig(path string) ([]*notificationsAsConfig, error
files, err := ioutil.ReadDir(path)
if err != nil {
cr.log.Error("Can't read alert notification provisioning files from directory", "path", path)
cr.log.Error("Can't read alert notification provisioning files from directory", "path", path, "error", err)
return notifications, nil
}