diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2019-11-25 14:37:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-25 14:37:09 +0100 |
commit | bac6cb7a02faf49d0cde633f20d757fed331d46b (patch) | |
tree | fb6edfe5aa248d4ad811bd5b1ce5a8669d346029 /configutil | |
parent | 880700d5228d0cf5e3e04d46322c98203e97b378 (diff) |
Use LOG instead of cerr
Diffstat (limited to 'configutil')
-rw-r--r-- | configutil/src/apps/modelinspect/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configutil/src/apps/modelinspect/main.cpp b/configutil/src/apps/modelinspect/main.cpp index 0404cf0ae86..4381ab6a714 100644 --- a/configutil/src/apps/modelinspect/main.cpp +++ b/configutil/src/apps/modelinspect/main.cpp @@ -83,7 +83,7 @@ Application::getConfigUri() return config::ConfigUri::createFromSpec(_cfgId, config::ServerSpec(_specString)); } catch (std::exception &e) { - std::cerr << "FATAL ERROR: failed to set up model configuration: " << e.what() << "\n"; + LOG(fatal, "Failed to set up model configuration source, will exit: %s", e.what()); exit(1); } } |