fix another case of bad err shadowing
This commit is contained in:
parent
a8126b4c26
commit
a719f9a03e
|
@ -288,7 +288,8 @@ var boxofboxes = cache.New(cache.Options{Filler: func(ident string) (*Box, bool)
|
|||
err := row.Scan(&info)
|
||||
if err != nil {
|
||||
log.Printf("need to get boxes for %s", ident)
|
||||
j, err := GetJunk(ident)
|
||||
var j junk.Junk
|
||||
j, err = GetJunk(ident)
|
||||
if err != nil {
|
||||
log.Printf("error getting boxes: %s", err)
|
||||
return nil, false
|
||||
|
|
Loading…
Reference in New Issue