Skip to content

Commit a52f8a7

Browse files
[contour] Report "Unknown action" through errorlog() rather than cerr.
1 parent 18421fa commit a52f8a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contour/Config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ namespace
827827
auto actionOpt = actions::fromString(actionName);
828828
if (!actionOpt)
829829
{
830-
cerr << "Unknown action: '" << _parent["action"].as<string>() << '\'' << endl;
830+
errorlog()("Unknown action '{}'.", _parent["action"].as<string>());
831831
return nullopt;
832832
}
833833

0 commit comments

Comments
 (0)