more detail in logging

This commit is contained in:
Ted Unangst 2019-08-22 11:06:31 -04:00
parent 10fcf2c205
commit 9a1b98e402
1 changed files with 4 additions and 1 deletions

View File

@ -465,7 +465,7 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
} }
obj, err := GetJunkHardMode(xid) obj, err := GetJunkHardMode(xid)
if err != nil { if err != nil {
log.Printf("error getting oneup: %s", err) log.Printf("error getting oneup: %s: %s", xid, err)
return return
} }
depth++ depth++
@ -499,6 +499,9 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
} }
log.Printf("getting bonk: %s", xid) log.Printf("getting bonk: %s", xid)
obj, err = GetJunkHardMode(xid) obj, err = GetJunkHardMode(xid)
if err != nil {
log.Printf("error getting bonk: %s: %s", xid, err)
}
origin = originate(xid) origin = originate(xid)
what = "bonk" what = "bonk"
case "Create": case "Create":