Skip to content

Commit

Permalink
improve logging for failed database check
Browse files Browse the repository at this point in the history
  • Loading branch information
buanet committed Apr 5, 2024
1 parent bfe581d commit c9a4a11
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v9.1.2
v9.2.0-beta.1
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Changelog

### v9.2.0-beta.1 (coming soon)
* improve logging for failed database check ([#411](https://github.com/buanet/ioBroker.docker/issues/411))

### v9.1.2 (05.04.2024)
* fix build process by updating npm to latest

Expand Down
8 changes: 3 additions & 5 deletions debian12/scripts/iobroker_startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -343,12 +343,10 @@ else
echo "Done."
echo " "
else
errormsg=$(gosu iobroker iob uuid 2>&1 | sed 's/^/[DEBUG] /')
echo "Failed."
if [[ "$debug" == "true" ]]; then
echo "[DEBUG] Error message: "
echo "$errormsg"
fi
errormsg=$(gosu iobroker iob uuid 2>&1 | sed 's/^/[ERROR] /')
echo "$errormsg"
echo " "
echo "Please check your configuration and try again."
echo "For more information see ioBroker Docker image docs (https://docs.buanet.de/iobroker-docker-image/docs)."
stop_on_error
Expand Down

0 comments on commit c9a4a11

Please sign in to comment.