fix another case of bad err shadowing
Ted Unangst tedu@tedunangst.com
Tue, 26 Nov 2019 00:42:32 -0500
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -288,7 +288,8 @@ row := stmtGetXonker.QueryRow(ident, "boxes")
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