Skip to content
Snippets Groups Projects
Commit f571dd7b authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix for bad ftl exception throw

parent f550caa9
No related branches found
No related tags found
No related merge requests found
Pipeline #19332 passed
...@@ -150,7 +150,8 @@ std::optional<T> ftl::Configurable::get(const std::string &name) { ...@@ -150,7 +150,8 @@ std::optional<T> ftl::Configurable::get(const std::string &name) {
try { try {
return r.get<T>(); return r.get<T>();
} catch (...) { } catch (...) {
throw FTL_Error("Missing: " << (*config_)["$id"].get<std::string>()+"/"+name); //throw FTL_Error("Missing: " << (*config_)["$id"].get<std::string>()+"/"+name);
return {};
} }
} else { } else {
return {}; return {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment