-
Notifications
You must be signed in to change notification settings - Fork 667
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve and extend error handling on D-Bus connect
Avoid initializing the Supervisor board since it does not support the Properties interface (see home-assistant/os-agent#206). This prevents the following somewhat confusing warning: No OS-Agent support on the host. Some Host functions have been disabled. The OS Agent is actually installed on the host, it is just a single object which caused issues. No functionalty was actually lost, as the Supervisor board object has no features currently, and all other interfaces got properly initialized still (thanks to gather()). Print warnings more fine graned so it is clear which object exactly causes an issue. Also print a log message on the lowest layer when an error occures on calling D-Bus. This allows to easier track the actual D-Bus error source. Fixes: #5241
- Loading branch information
Showing
4 changed files
with
38 additions
and
11 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
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