From 443e083cffc2fe876bdaca0c6b0a402b9ef828d9 Mon Sep 17 00:00:00 2001 From: Anil Tuncel Date: Fri, 20 Oct 2023 16:46:45 +0200 Subject: [PATCH] add feature's name to the error message --- efel/cppcore/cfeature.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/efel/cppcore/cfeature.cpp b/efel/cppcore/cfeature.cpp index f1edcc68..6fe7e0ae 100644 --- a/efel/cppcore/cfeature.cpp +++ b/efel/cppcore/cfeature.cpp @@ -374,9 +374,9 @@ int cFeature::calc_features(const string& name) { map >::const_iterator lookup_it( fptrlookup.find(name)); if (lookup_it == fptrlookup.end()) { - throw std::runtime_error("Feature dependency file entry or pointer table entry is missing."); + throw std::runtime_error("Feature dependency file entry or pointer table " + "entry for '" + name + "' is missing."); } - bool last_failed = false; for (vector::const_iterator pfptrstring =