Skip to content

Commit

Permalink
log ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 committed Oct 28, 2024
1 parent 3da56c1 commit ad72da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/go/0chain.net/blobbercore/reference/dbCollector.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (dc *dbCollector) Finalize(ctx context.Context, allocationID, allocationRoo
err := db.Create(&(dc.createdRefs)).Error
if err != nil {
for ind, ref := range dc.createdRefs {
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))
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))
}
return err
}
Expand Down

0 comments on commit ad72da6

Please sign in to comment.