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 30897c7 commit 2f86c63Copy full SHA for 2f86c63
lib/api.sh
@@ -64,6 +64,11 @@ function bashio::api.supervisor() {
64
return "${__BASHIO_EXIT_NOK}"
65
fi
66
67
+ if [[ "${status}" -eq 403 ]]; then
68
+ bashio::log.error "Unable to access the API, forbidden"
69
+ return "${__BASHIO_EXIT_NOK}"
70
+ fi
71
+
72
if [[ "${status}" -eq 404 ]]; then
73
bashio::log.error "Requested resource ${resource} was not found"
74
0 commit comments