Skip to content

Commit

Permalink
refactor: add catch to prevent throw error
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Feb 9, 2025
1 parent 78e6068 commit fcc5535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/utils/builders/compose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: ✅");
Expand Down

0 comments on commit fcc5535

Please sign in to comment.