refactor: improve Traefik error handling in service initialization

This commit is contained in:
Mauricio Siu
2025-02-22 23:22:15 -06:00
parent 038b021043
commit 30cbad93d2

View File

@@ -127,7 +127,7 @@ export const initializeTraefik = async ({
});
console.log("Traefik Started ✅");
} catch (error) {
} catch (_) {
try {
await docker.createService(settings);
} catch (error: any) {