mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 05:19:05 +01:00
Add debug output
This commit is contained in:
parent
7c33dcf630
commit
5482b9be2c
@ -47,9 +47,10 @@ func RegisterFootprintWorker() {
|
||||
scopes = append(scopes, schema.MetricScopeAccelerator)
|
||||
|
||||
for _, job := range jobs {
|
||||
log.Debugf("Try job %d", job.JobID)
|
||||
jobData, err := metricDataDispatcher.LoadData(job, allMetrics, scopes, context.Background())
|
||||
if err != nil {
|
||||
log.Error("Error wile loading job data for footprint update")
|
||||
log.Errorf("Error wile loading job data for footprint update: %v", err)
|
||||
continue
|
||||
}
|
||||
|
||||
@ -107,6 +108,7 @@ func RegisterFootprintWorker() {
|
||||
// log.Errorf("Update job (dbid: %d) failed at db execute: %s", job.ID, err.Error())
|
||||
// continue
|
||||
// }
|
||||
log.Debugf("Finish job %d", job.JobID)
|
||||
}
|
||||
|
||||
jobRepo.TransactionCommit(t)
|
||||
|
Loading…
Reference in New Issue
Block a user