test debug alch all

This commit is contained in:
shoopea 2020-11-16 15:55:50 +01:00
parent 6233e7cd80
commit 301fe24d21

4
job.go
View File

@ -2258,6 +2258,8 @@ func jobAlchAll(j Job) {
}
}
if !itemInStock {
fmt.Printf("jobAlchAll : missing %s to brew %s\n", i.Name, o.Names[0])
logOnError(err, "jobAlchAll : Unmarshal payload")
maxResItems[o.ObjID64] = 0
break
}
@ -2295,6 +2297,8 @@ func jobAlchAll(j Job) {
if !itemInserted {
list = append(list, k)
}
} else {
fmt.Printf("jobAlchAll : missing materiels to brew %s\n", itemsCode[k])
}
}
for _, i := range list {