-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved tedge-write related logging
Put more details into warn and error logs when deploying configuration files using `tedge-write`: - before: "WARN: `sudo.enable` set to `true`, but sudo not found in $PATH" - after: "WARN: `sudo.enable` set to `true`, but sudo not found in $PATH, using tedge-write directly" - before: "ERROR: config-manager failed writing updated configuration file: Starting tedge-write process failed" - after: "ERROR: config-manager failed writing updated configuration file: failed to start process '/usr/bin/tedge-write': No such file or directory (os error 2)" - before: "ERROR: config-manager failed writing updated configuration file: sudo: /usr/bin/tedge-write: command not found" - after: "ERROR: config-manager failed writing updated configuration file: process returned non-zero exit code (1); stderr="sudo: /usr/bin/tedge-write: command not found"" Signed-off-by: Marcel Guzik <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
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
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