From d43c4a71ba2ae73c94be35503d5e75e9b302cc2a Mon Sep 17 00:00:00 2001 From: cryptoskillz Date: Thu, 21 Nov 2019 17:16:49 +0700 Subject: [PATCH] Added clearly docker log instructions if cyphernode fails to start --- cyphernodeconf_docker/templates/installer/testdeployment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyphernodeconf_docker/templates/installer/testdeployment.sh b/cyphernodeconf_docker/templates/installer/testdeployment.sh index 94dde14..d08ea2e 100644 --- a/cyphernodeconf_docker/templates/installer/testdeployment.sh +++ b/cyphernodeconf_docker/templates/installer/testdeployment.sh @@ -78,7 +78,7 @@ EXIT_STATUS=$(($? | ${EXIT_STATUS})) printf "\r\n\e[1;32mTests finished.\e[0m\n" if [ "$EXIT_STATUS" -ne "0" ]; then - printf "\r\n\033[1;31mThere was an error during cyphernode installation. Please see Docker's logs for more information. Run ./testdeployment.sh to rerun the tests. Run ./stop.sh to stop cyphernode.\r\n\r\n\033[0m" + printf "\r\n\033[1;31mThere was an error during cyphernode installation. full logs: docker ps -q | xargs -L 1 docker logs , Containers logs: docker logs , list containers: docker ps .Please see Docker's logs for more information. Run ./testdeployment.sh to rerun the tests. Run ./stop.sh to stop cyphernode.\r\n\r\n\033[0m" exit 1 fi