mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-31 17:22:16 +00:00
refactor: add catch to prevent throw error
This commit is contained in:
@@ -82,7 +82,7 @@ export const buildCompose = async (compose: ComposeNested, logPath: string) => {
|
|||||||
if (compose.isolatedDeployment) {
|
if (compose.isolatedDeployment) {
|
||||||
await execAsync(
|
await execAsync(
|
||||||
`docker network connect ${compose.appName} $(docker ps --filter "name=dokploy-traefik" -q) >/dev/null 2>&1`,
|
`docker network connect ${compose.appName} $(docker ps --filter "name=dokploy-traefik" -q) >/dev/null 2>&1`,
|
||||||
);
|
).catch(() => {});
|
||||||
}
|
}
|
||||||
|
|
||||||
writeStream.write("Docker Compose Deployed: ✅");
|
writeStream.write("Docker Compose Deployed: ✅");
|
||||||
|
|||||||
Reference in New Issue
Block a user