We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d70505a commit 2557939Copy full SHA for 2557939
1 file changed
lib/info.sh
@@ -31,6 +31,10 @@ function bashio::info() {
31
info=$(bashio::cache.get 'info')
32
else
33
info=$(bashio::api.supervisor GET /info false)
34
+ if [ "$?" -ne "${__BASHIO_EXIT_OK}" ]; then
35
+ bashio::log.error "Failed to get info from Supervisor API"
36
+ return "${__BASHIO_EXIT_NOK}"
37
+ fi
38
bashio::cache.set 'info' "${info}"
39
fi
40
0 commit comments