mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2026-02-27 06:49:03 +02:00
improve logging for failed database check
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user