# HG changeset patch # User Ted Unangst # Date 1716841287 14400 # Mon May 27 16:21:27 2024 -0400 # Node ID 294db214bc6a85891d7f58913b201c33ad195a14 # Parent b32ca4586232d68adc7e3a45063ce5de5fbb8ba6 save the fallback handle so we don't endlessly refetch diff --git a/fun.go b/fun.go --- a/fun.go +++ b/fun.go @@ -639,12 +639,15 @@ dlog.Printf("need to get a handle: %s", xid) info, _, err := investigate(xid) if err != nil { + dlog.Printf("failed to get handle: %s", err) m := re_unurl.FindStringSubmatch(xid) if len(m) > 2 { handle = m[2] } else { handle = xid } + when := time.Now().UTC().Format(dbtimeformat) + savexonker(xid, handle, "handle", when) } else { handle = info.Name }