From fd66caffe66c69894ebd35a26f10482a1b8bf5c8 Mon Sep 17 00:00:00 2001 From: Alexander Rutkovsky Date: Mon, 18 Dec 2023 11:49:14 +0000 Subject: [PATCH] Enhance error message --- ydb/core/blob_depot/agent/read.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ydb/core/blob_depot/agent/read.cpp b/ydb/core/blob_depot/agent/read.cpp index c5fe02ddf88d..9b1e5519955c 100644 --- a/ydb/core/blob_depot/agent/read.cpp +++ b/ydb/core/blob_depot/agent/read.cpp @@ -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];