From 9a1b98e402810bb1a4586f8bba60151c3dbbba3d Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 22 Aug 2019 11:06:31 -0400 Subject: [PATCH] more detail in logging --- activity.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/activity.go b/activity.go index 1e5d091..d16e37f 100644 --- a/activity.go +++ b/activity.go @@ -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":