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