Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Feb 28, 2025
1 parent 5012bb1 commit 6743860
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/c2d/compute_engine_docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,14 @@ export class C2DEngineDocker extends C2DEngine {
// let's build the env. Swarm and k8 will build multiple envs, based on arhitecture
const config = await getConfiguration()
const envConfig = await this.getC2DConfig().connection
const sysinfo = await this.docker.info()
let sysinfo = null
try {
sysinfo = await this.docker.info()
} catch (e) {
CORE_LOGGER.error('Could not get docker info: ' + e.message)
// since we cannot connect to docker, we cannot start the engine -> no envs
return
}
// console.log(sysinfo)
let fees: ComputeEnvFeesStructure = null

Expand Down

0 comments on commit 6743860

Please sign in to comment.