Skip to content

Commit 7925afb

Browse files
alexvruazevaykin
authored andcommitted
Enhance error message (ydb-platform#539)
1 parent 5462aa9 commit 7925afb

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)