mirror of
https://github.com/louislam/dockge.git
synced 2024-11-27 13:14:03 +00:00
add exit code to error message
This commit is contained in:
parent
26f8602e84
commit
b946b11f5f
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ export class DockerSocketHandler extends AgentSocketHandler {
|
|||
|
||||
let exitCode = await Terminal.exec(server, socket, terminalName, "git", [ "clone", "-b", branch, gitUrl, stackName ], server.stacksDir);
|
||||
if (exitCode !== 0) {
|
||||
throw new Error("Failed to clone git repo");
|
||||
throw new Error(`Failed to clone git repo [Exit Code ${exitCode}]`);
|
||||
}
|
||||
|
||||
const stack = await Stack.getStack(server, stackName);
|
||||
|
|
Loading…
Reference in a new issue