add some logging so i can see the magic happen

This commit is contained in:
Ted Unangst 2019-11-11 12:56:37 -05:00
parent 5032f180d1
commit 46e6d99eda
2 changed files with 2 additions and 0 deletions

View File

@ -276,6 +276,7 @@ var boxofboxes = cache.New(cache.Options{Filler: func(ident string) (*Box, bool)
row := stmtGetXonker.QueryRow(ident, "boxes")
err := row.Scan(&info)
if err != nil {
log.Printf("need to get boxes for %s", ident)
j, err := GetJunk(ident)
if err != nil {
log.Printf("error getting boxes: %s", err)

1
fun.go
View File

@ -498,6 +498,7 @@ var allhandles = cache.New(cache.Options{Filler: func(xid string) (string, bool)
var handle string
err := row.Scan(&handle)
if err != nil {
log.Printf("need to get a handle: %s", xid)
info, err := investigate(xid)
if err != nil {
m := re_unurl.FindStringSubmatch(xid)