Skip to content
Snippets Groups Projects
Commit c37c8516 authored by Stefan Spettel's avatar Stefan Spettel
Browse files

fix(pcf): robustness of parsing YAML files from FS

parent 704ffc8c
No related branches found
No related tags found
1 merge request!39feat(pcf): Add possibility to read QoS values from file
Pipeline #40011 passed
......@@ -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());
}
......
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