mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
Merge pull request #1930 from nktnet1/fix-traefik-failing-silently
fix: throw error if traefik container creation fails for a reason other than port taken
This commit is contained in:
@@ -139,6 +139,8 @@ export const initializeTraefik = async ({
|
|||||||
const newContainer = docker.getContainer(containerName);
|
const newContainer = docker.getContainer(containerName);
|
||||||
await newContainer.start();
|
await newContainer.start();
|
||||||
console.log("Traefik container started successfully after retry");
|
console.log("Traefik container started successfully after retry");
|
||||||
|
} else {
|
||||||
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user