more detail in logging
Ted Unangst tedu@tedunangst.com
Thu, 22 Aug 2019 11:06:31 -0400
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -465,7 +465,7 @@ return
} 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 @@ return nil
} 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":