eclipse-zenoh-flow / zenoh-flow

zenoh-flow aims at providing a zenoh-based data-flow programming framework for computations that span from the cloud to the device.
Other
91 stars 20 forks source link

fix(commons): do not fail without `Vars` section #257

Closed J-Loudet closed 3 months ago

J-Loudet commented 3 months ago

If the Vars section was not present in a file that is parsed by the function try_parse_from_file then an error would be thrown.

This commit changes the behaviour of the function such that if it is missing, no error is returned and instead a log message is recorded.