Skip to content

Commit

Permalink
Expand an exception message.
Browse files Browse the repository at this point in the history
  • Loading branch information
zakalawe authored and bcoconni committed Jul 24, 2021
1 parent 1a4959e commit eb9ffd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/FGParameterValue.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class FGParameterValue : public FGParameter
<< "The element <" << el->GetName()
<< "> must either contain a value number or a property name."
<< endl;
throw invalid_argument("Illegal argument");
throw invalid_argument("FGParameterValue: Illegal argument defining: " + el->GetName());
}

Construct(value, pm);
Expand Down

0 comments on commit eb9ffd3

Please # to comment.