diff --git a/backend/agent-socket-handlers/docker-socket-handler.ts b/backend/agent-socket-handlers/docker-socket-handler.ts index 5e9dbcb..e2f96a9 100644 --- a/backend/agent-socket-handlers/docker-socket-handler.ts +++ b/backend/agent-socket-handlers/docker-socket-handler.ts @@ -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);