From d04644ef1caeef19f73494dbed2fe11bec31e5de Mon Sep 17 00:00:00 2001 From: Andrey Tvorozhkov Date: Sat, 14 Sep 2024 18:55:48 +0300 Subject: [PATCH] Update --- lite-server-daemon/adnl-lite-proxy.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lite-server-daemon/adnl-lite-proxy.cpp b/lite-server-daemon/adnl-lite-proxy.cpp index ac7e5462c..772d7bcdf 100644 --- a/lite-server-daemon/adnl-lite-proxy.cpp +++ b/lite-server-daemon/adnl-lite-proxy.cpp @@ -913,7 +913,9 @@ namespace ton::liteserver { if (error->message_.find(substring) != std::string::npos) { if (refire + 1 > allowed_refire) { LOG(ERROR) << "Too deep refire"; - auto res = create_serialize_tl_object(228, "Too deep refire"); + auto res = create_serialize_tl_object(error->code_, + error->message_ + + " : tried over all nodes"); process_cache(std::move(data), res.clone(), compiled_query, elapsed); promise.set_value(std::move(res)); return;