debug log
This commit is contained in:
parent
9e85dddcf5
commit
e4c6932a7a
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ func (p *Processor) StartWork(receivedTasks []shared.TaskResponse) {
|
|||
func (p *Processor) sortTasks(receivedTasks []shared.TaskResponse) map[string][]shared.Task {
|
||||
sorted := make(map[string][]shared.Task, len(receivedTasks))
|
||||
for _, task := range receivedTasks {
|
||||
log.WithField("task", task).Debug("Sorting tasks")
|
||||
switch {
|
||||
case task.OriginSurugayaLink != "":
|
||||
sorted[shared.OriginSurugaya] = append(sorted[shared.OriginSurugaya], shared.Task{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue