diff --git a/include/settings/json_settings.h b/include/settings/json_settings.h index 7a54d7dadf..45b4b4a39a 100644 --- a/include/settings/json_settings.h +++ b/include/settings/json_settings.h @@ -105,7 +105,15 @@ public: OPT Get( std::string aPath ) const { if( OPT ret = GetJson( std::move( aPath ) ) ) - return ret->get(); + { + try + { + return ret->get(); + } + catch( ... ) + { + } + } return NULLOPT; }