Skip to content

Commit

Permalink
add feature's name to the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
anilbey committed Oct 20, 2023
1 parent e9cbcc8 commit 443e083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions efel/cppcore/cfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@ int cFeature::calc_features(const string& name) {
map<string, vector<featureStringPair> >::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<featureStringPair>::const_iterator pfptrstring =
Expand Down

0 comments on commit 443e083

Please sign in to comment.