Skip to content

Commit

Permalink
fix: piece provider: Don't log CIDs as binary
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Mar 10, 2022
1 parent 326a9b6 commit 91ccb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extern/sector-storage/piece_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (p *pieceProvider) ReadPiece(ctx context.Context, sector storage.SectorRef,

r, err := p.tryReadUnsealedPiece(ctx, unsealed, sector, pieceOffset, size)

log.Debugf("result of first tryReadUnsealedPiece: r=%+v, err=%s", r, err)
log.Debugf("result of first tryReadUnsealedPiece: r=%s, err=%s", r, err)

if xerrors.Is(err, storiface.ErrSectorNotFound) {
log.Debugf("no unsealed sector file with unsealed piece, sector=%+v, pieceOffset=%d, size=%d", sector, pieceOffset, size)
Expand Down

0 comments on commit 91ccb7f

Please sign in to comment.