Skip to content

Commit

Permalink
logs and format
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Dec 16, 2024
1 parent 3529109 commit 81771fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/study/system-model/component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static void checkComponentDataValidity(const ComponentData& data)
{
if (!data.parameter_values.contains(param))
{
throw std::invalid_argument("The component has no value for parameter '" + param + "'");
throw std::invalid_argument("The component \"" + data.id + "\" has no value for parameter '" + param + "'");
}
}
}
Expand Down
1 change: 0 additions & 1 deletion src/tests/src/solver/modelParser/testSystemConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,5 +265,4 @@ BOOST_AUTO_TEST_CASE(Full_system_test)
SystemParser::System systemObj = parserSystem.parse(systemYaml);
/* BOOST_CHECK_NO_THROW(SystemConverter::convert(systemObj, libraries)); */
SystemConverter::convert(systemObj, libraries);

}

0 comments on commit 81771fb

Please sign in to comment.