Skip to content

Commit fcc5535

Browse files
committed
refactor: add catch to prevent throw error
1 parent 78e6068 commit fcc5535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/utils/builders/compose.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const buildCompose = async (compose: ComposeNested, logPath: string) => {
8282
if (compose.isolatedDeployment) {
8383
await execAsync(
8484
`docker network connect ${compose.appName} $(docker ps --filter "name=dokploy-traefik" -q) >/dev/null 2>&1`,
85-
);
85+
).catch(() => {});
8686
}
8787

8888
writeStream.write("Docker Compose Deployed: ✅");

0 commit comments

Comments
 (0)