add some logging so i can see the magic happen
This commit is contained in:
parent
5032f180d1
commit
46e6d99eda
|
@ -276,6 +276,7 @@ var boxofboxes = cache.New(cache.Options{Filler: func(ident string) (*Box, bool)
|
||||||
row := stmtGetXonker.QueryRow(ident, "boxes")
|
row := stmtGetXonker.QueryRow(ident, "boxes")
|
||||||
err := row.Scan(&info)
|
err := row.Scan(&info)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
log.Printf("need to get boxes for %s", ident)
|
||||||
j, err := GetJunk(ident)
|
j, err := GetJunk(ident)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("error getting boxes: %s", err)
|
log.Printf("error getting boxes: %s", err)
|
||||||
|
|
1
fun.go
1
fun.go
|
@ -498,6 +498,7 @@ var allhandles = cache.New(cache.Options{Filler: func(xid string) (string, bool)
|
||||||
var handle string
|
var handle string
|
||||||
err := row.Scan(&handle)
|
err := row.Scan(&handle)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
log.Printf("need to get a handle: %s", xid)
|
||||||
info, err := investigate(xid)
|
info, err := investigate(xid)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
m := re_unurl.FindStringSubmatch(xid)
|
m := re_unurl.FindStringSubmatch(xid)
|
||||||
|
|
Loading…
Reference in New Issue