diff --git a/package.json b/package.json index 0eaa9e0..d28dadb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "greenframe-cli", "description": "Official GreenFrame CLI", - "version": "1.6.7", + "version": "1.6.8", "author": "Marmelab", "bin": { "greenframe": "./bin/run" diff --git a/src/services/container/getContainerStats.js b/src/services/container/getContainerStats.js index 3a5b04e..055c744 100644 --- a/src/services/container/getContainerStats.js +++ b/src/services/container/getContainerStats.js @@ -20,7 +20,9 @@ const getIsContainerRunning = (containerName, dockerdOptions) => { try { const callback = (res) => { if (res.statusCode !== 200) { - reject(`${containerName} container is not running.`); + reject( + `${containerName} container may has encountered an issue. Status code:${res.statusCode}. Status message:${res.statusMessage}` + ); } else { resolve(); }