Skip to content

Commit

Permalink
Enhance error message (ydb-platform#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvru authored and azevaykin committed Dec 19, 2023
1 parent 5462aa9 commit 7925afb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ydb/core/blob_depot/agent/read.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ namespace NKikimr::NBlobDepot {
readContext.BlobWithoutData = blob.Id;
return;
} else if (blob.Status != NKikimrProto::OK) {
return readContext.EndWithError(this, blob.Status, TStringBuilder() << "failed to read BlobId# " << blob.Id);
return readContext.EndWithError(this, blob.Status, TStringBuilder() << "failed to read BlobId# " << blob.Id
<< " Status# " << blob.Status << " ErrorReason# '" << msg.ErrorReason << "'");
}

const ui64 offset = partContext.Offsets[i];
Expand Down

0 comments on commit 7925afb

Please sign in to comment.