From f46778a566716892cc1dd491776259c175346a6c Mon Sep 17 00:00:00 2001 From: markhansen Date: Mon, 16 Feb 2026 10:19:15 +1100 Subject: [PATCH] Elaborate error message It confused me a bit in internal bug b/388386656#comment54. I thought it meant file not found! I hope that elaborating that it's the build ID mismatching will help future folks hitting this. --- src/bloaty.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bloaty.cc b/src/bloaty.cc index f489c60..e772988 100644 --- a/src/bloaty.cc +++ b/src/bloaty.cc @@ -2146,7 +2146,8 @@ void Bloaty::ScanAndRollup(const Options& options, RollupOutput* output) { "$0 $1\n", absl::BytesToHexString(file_info.build_id_).c_str(), file_info.filename_.c_str()); } - THROWF("Debug file(s) did not match any input file:\n$0\nInput Files:\n$1", + THROWF("Debug file(s) build ID did not match any input file build " + "ID:\n$0\nInput Files:\n$1", unused_debug.c_str(), input_files.c_str()); } }