provisioning: adds more logging about failed to deletion of provisioned dashboards

This commit is contained in:
bergquist
2018-10-03 17:38:10 +02:00
parent 75ed71a455
commit 4498d75b17

View File

@@ -137,7 +137,7 @@ func (fr *fileReader) deleteDashboardIfFileIsMissing(provisionedDashboardRefs ma
cmd := &models.DeleteDashboardCommand{OrgId: fr.Cfg.OrgId, Id: dashboardId}
err := bus.Dispatch(cmd)
if err != nil {
fr.log.Error("failed to delete dashboard", "id", cmd.Id)
fr.log.Error("failed to delete dashboard", "id", cmd.Id, "error", err)
}
}
}