Skip to content

Commit 142b9e7

Browse files
committed
log ref
1 parent a23f433 commit 142b9e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/go/0chain.net/blobbercore/reference/dbCollector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (dc *dbCollector) Finalize(ctx context.Context, allocationID, allocationRoo
8585
err := db.Create(&(dc.createdRefs)).Error
8686
if err != nil {
8787
for ind, ref := range dc.createdRefs {
88-
logging.Logger.Error("create_ref_error", zap.String("lookup_hash", ref.LookupHash), zap.String("path", ref.Path), zap.Int("index", ind), zap.String("allocation_root", allocationRoot))
88+
logging.Logger.Error("create_ref_error", zap.String("lookup_hash", ref.LookupHash), zap.String("path", ref.Path), zap.Int("index", ind), zap.String("allocation_root", allocationRoot), zap.Any("ref", ref))
8989
}
9090
return err
9191
}

0 commit comments

Comments
 (0)