Skip to content

Commit

Permalink
Specify object key in 404 error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Aug 21, 2024
1 parent dfabe31 commit 9482cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingest/ledgerbackend/ledger_buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (lb *ledgerBuffer) downloadLedgerObject(ctx context.Context, sequence uint3

reader, err := lb.dataStore.GetFile(ctx, objectKey)
if err != nil {
return nil, err
return nil, errors.Wrapf(err, "failed finding file: %s", objectKey)
}

defer reader.Close()
Expand Down

0 comments on commit 9482cf3

Please sign in to comment.