Skip to content

Commit

Permalink
fix: improve execute error
Browse files Browse the repository at this point in the history
  • Loading branch information
loks0n committed Jul 4, 2024
1 parent 582fc3e commit acfa608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Orchestration/Adapter/DockerAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ public function execute(

$parsedResponse = json_decode($result['response'], true);
if ($parsedResponse['Running'] === true || $parsedResponse['ExitCode'] !== 0) {
throw new Orchestration('Failed to execute command: '.$result['response'].' Exit Code: '.$parsedResponse['ExitCode']);
throw new Orchestration('Failed to execute command. Exit Code: '.$parsedResponse['ExitCode']);
}

return true;
Expand Down

0 comments on commit acfa608

Please sign in to comment.