Skip to content

Commit

Permalink
fix: print batch id in failed to read upload item log (#4827)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinconic authored Sep 18, 2024
1 parent c47fc8a commit 795bd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storer/internal/upload/uploadstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ func Report(ctx context.Context, st transaction.Store, chunk swarm.Chunk, state
return nil
}

return fmt.Errorf("failed to read uploadItem %s: %w", ui, err)
return fmt.Errorf("failed to read uploadItem %x: %w", ui.BatchID, err)
}

ti := &TagItem{TagID: ui.TagID}
Expand Down

0 comments on commit 795bd22

Please sign in to comment.