diff --git a/src/pcf_app/sm_policy/policy_provisioning_file.cpp b/src/pcf_app/sm_policy/policy_provisioning_file.cpp index ed80bfa85c38abddac3f192e303ef395e44d2f42..31935d6c42f22af3f7d2d44c1bdb1d453e5ff2ef 100644 --- a/src/pcf_app/sm_policy/policy_provisioning_file.cpp +++ b/src/pcf_app/sm_policy/policy_provisioning_file.cpp @@ -242,7 +242,7 @@ std::map<std::string, T> policy_provisioning_file::convert_yaml_to_model( "Error while parsing rule %s: %s", elem.key(), stream.str().c_str()); } - } catch (nlohmann::json::exception& e) { + } catch (std::exception& e) { Logger::pcf_app().warn( "Error while parsing rule %s: %s", elem.key(), e.what()); }