Skip to content

Commit

Permalink
Merge pull request #55 from marmelab/add-debug-log
Browse files Browse the repository at this point in the history
Add a debug log
  • Loading branch information
fzaninotto committed Jul 25, 2023
2 parents b2d4b9e + ef7eae9 commit 4570382
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 3 additions & 1 deletion src/services/container/getContainerStats.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 4570382

Please sign in to comment.