Add Feed ID in worker error logs
This commit is contained in:
parent
0d66f2c6d3
commit
2b74c6779a
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ func (w *Worker) Run(c chan model.Job) {
|
|||
|
||||
err := w.feedHandler.RefreshFeed(job.UserID, job.FeedID)
|
||||
if err != nil {
|
||||
logger.Error("[Worker] %v", err)
|
||||
logger.Error("[Worker] Feed #%d: %v", job.FeedID, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue