jobqueue: include dependent job IDs when logging
This commit is contained in:
parent
37bffc9808
commit
9c6438c8f4
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ func (q *dbJobQueue) Enqueue(jobType string, args interface{}, dependencies []uu
|
||||||
return uuid.Nil, fmt.Errorf("unable to commit database transaction: %v", err)
|
return uuid.Nil, fmt.Errorf("unable to commit database transaction: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
logrus.Infof("Enqueued job of type %s with ID %s", jobType, id)
|
logrus.Infof("Enqueued job of type %s with ID %s(dependencies %v)", jobType, id, dependencies)
|
||||||
|
|
||||||
return id, nil
|
return id, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue