From d552c52b081c4c0853086bcdce38d67fd02f2c67 Mon Sep 17 00:00:00 2001 From: Andrew Toth Date: Wed, 15 Jul 2026 13:24:24 -0400 Subject: [PATCH] coins: log error reason when prevout fetch submission fails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lőrinc --- src/coins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coins.cpp b/src/coins.cpp index 39c9c12dbee..83eefb51958 100644 --- a/src/coins.cpp +++ b/src/coins.cpp @@ -396,7 +396,7 @@ CCoinsViewCache::ResetGuard CoinsViewOverlay::StartFetching(const CBlock& block // Submit can fail if a shared owner of the thread pool outside of this class calls Stop() or // Interrupt() on a different thread after we call WorkersCount() above. In that case parallel // fetching will not make progress, so we clear the inputs to fall back to single threaded fetching. - LogWarning("Failed to submit prevout fetch tasks; falling back to single-threaded fetching for this block."); + LogWarning("Failed to submit prevout fetch tasks (%s); falling back to single-threaded fetching for this block.", SubmitErrorString(futures.error())); m_inputs.clear(); StopFetching(); // Assert nothing changed if we failed to start tasks. }