-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(commons): do not fail without
Vars
section
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. * Cargo.lock: added dependency `tracing`. * zenoh-flow-commons/Cargo.toml: added dependency `tracing`. * zenoh-flow-commons/src/utils.rs: instead of throwing an error if the `Vars` section is missing, log a debug message and continue the normal execution. Signed-off-by: Julien Loudet <[email protected]>
- Loading branch information
Showing
3 changed files
with
33 additions
and
16 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters