From d5a310b85c0ed348880996b7df71672f244de85e Mon Sep 17 00:00:00 2001 From: matthewhadley Date: Mon, 16 Oct 2023 11:38:50 -0500 Subject: [PATCH] display re-auth url correctly in logs on error --- dropback/CHANGELOG.md | 6 ++++++ dropback/config.yaml | 2 +- dropback/run.sh | 5 ++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/dropback/CHANGELOG.md b/dropback/CHANGELOG.md index 07f3d68..002da20 100755 --- a/dropback/CHANGELOG.md +++ b/dropback/CHANGELOG.md @@ -1,3 +1,9 @@ +## [7.2.1] - 2023-10-16 + +### Fixed + +- display re-auth url correctly in logs on error + ## [7.2.0] - 2023-09-27 ### Added diff --git a/dropback/config.yaml b/dropback/config.yaml index a132581..ad347dd 100755 --- a/dropback/config.yaml +++ b/dropback/config.yaml @@ -1,7 +1,7 @@ name: "Dropback" description: "Sync Home Assistant backups to Dropbox" url: "https://github.com/matthewhadley/homeassistant-dropback" -version: "7.2.0" +version: "7.2.1" slug: "dropback" init: false stdin: true diff --git a/dropback/run.sh b/dropback/run.sh index a54324f..de0c1b5 100755 --- a/dropback/run.sh +++ b/dropback/run.sh @@ -25,7 +25,10 @@ declare __BASHIO_LOG_TIMESTAMP="%Y-%m-%d %T" warn_about_access_token() { bashio::log.fatal "Please check App Key and App Secret configuration values and generate a new Access Token" - bashio::log.fatal "A new Access Token can be generated at: $DROPBOX_ACCESS_TOKEN_URL" + bashio::log.fatal "A new Access Token can be generated at:" + bashio::log + bashio::log "$DROPBOX_ACCESS_TOKEN_URL" + bashio::log } check_network_access() {