Skip to content

Commit fd66caf

Browse files
committed
Enhance error message
1 parent 9f6e1bc commit fd66caf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/core/blob_depot/agent/read.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ namespace NKikimr::NBlobDepot {
187187
readContext.BlobWithoutData = blob.Id;
188188
return;
189189
} else if (blob.Status != NKikimrProto::OK) {
190-
return readContext.EndWithError(this, blob.Status, TStringBuilder() << "failed to read BlobId# " << blob.Id);
190+
return readContext.EndWithError(this, blob.Status, TStringBuilder() << "failed to read BlobId# " << blob.Id
191+
<< " Status# " << blob.Status << " ErrorReason# '" << msg.ErrorReason << "'");
191192
}
192193

193194
const ui64 offset = partContext.Offsets[i];

0 commit comments

Comments
 (0)