refactor: add catch to prevent throw error

This commit is contained in:
Mauricio Siu
2025-02-09 03:02:39 -06:00
parent 78e606876a
commit fcc55355f2

View File

@@ -82,7 +82,7 @@ export const buildCompose = async (compose: ComposeNested, logPath: string) => {
if (compose.isolatedDeployment) {
await execAsync(
`docker network connect ${compose.appName} $(docker ps --filter "name=dokploy-traefik" -q) >/dev/null 2>&1`,
);
).catch(() => {});
}
writeStream.write("Docker Compose Deployed: ✅");