Skip to content

Commit

Permalink
Correct error message to match enclosing function
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosbento committed Jun 5, 2024
1 parent 09a069c commit 57548f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/node/src/ecflow/node/Defs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,7 @@ void Defs::restore_from_string(const std::string& str) {
std::string errorMsg, warningMsg;
if (!restore_from_string(str, errorMsg, warningMsg)) {
std::stringstream e;
e << "Defs::defs_restore_from_string: " << errorMsg;
e << "Defs::restore_from_string: " << errorMsg;
throw std::runtime_error(e.str());
}
}
Expand Down

0 comments on commit 57548f3

Please sign in to comment.