From dc12c5af95fc94f81974f97fdc098ac2021db78c Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Mon, 18 Nov 2019 08:40:04 +0200 Subject: [PATCH] Fix to remove bad log fatal --- components/common/cpp/src/configuration.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/common/cpp/src/configuration.cpp b/components/common/cpp/src/configuration.cpp index bd9d9feec..89d539cbe 100644 --- a/components/common/cpp/src/configuration.cpp +++ b/components/common/cpp/src/configuration.cpp @@ -290,7 +290,8 @@ json_t &ftl::config::resolve(const std::string &puri, bool eager) { std::string u = uri.getBaseURI(); auto ix = config_index.find(u); if (ix == config_index.end()) { - LOG(FATAL) << "Cannot find resource: " << u; + LOG(WARNING) << "Cannot find resource: " << u; + return null_json; } auto ptr = nlohmann::json::json_pointer("/"+uri.getFragment()); -- GitLab