From 9756f0361bdfc9cc74fd24dc542441239506dac7 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Mon, 3 Feb 2020 15:14:55 +0100 Subject: [PATCH] Debug rest server start --- scripts/cosm/start.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/cosm/start.sh b/scripts/cosm/start.sh index c9224905..3722d815 100755 --- a/scripts/cosm/start.sh +++ b/scripts/cosm/start.sh @@ -34,6 +34,10 @@ docker run --rm \ echo "wasmd running and logging into $WASMD_LOGFILE" +# Debug chain start +sleep 3 +cat "$WASMD_LOGFILE" + sleep 10 if [ "$(docker inspect -f '{{.State.Running}}' "$CONTAINER_NAME")" != "true" ]; then @@ -52,3 +56,7 @@ docker exec "$CONTAINER_NAME" \ > "$REST_SERVER_LOGFILE" & echo "rest server running on http://localhost:1317 and logging into $REST_SERVER_LOGFILE" + +# Debug rest server start +sleep 3 +cat "$REST_SERVER_LOGFILE"