From 57548f301dc1884c53720b9f68d0d8c2b0fa5a9f Mon Sep 17 00:00:00 2001 From: Marcos Bento Date: Wed, 5 Jun 2024 14:01:12 +0100 Subject: [PATCH] Correct error message to match enclosing function --- libs/node/src/ecflow/node/Defs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/node/src/ecflow/node/Defs.cpp b/libs/node/src/ecflow/node/Defs.cpp index 827fc964d..00bdfcb64 100644 --- a/libs/node/src/ecflow/node/Defs.cpp +++ b/libs/node/src/ecflow/node/Defs.cpp @@ -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()); } }