diff --git a/build/build.node.ts b/build/build.node.ts index 672cccf483..38aa26ab3a 100644 --- a/build/build.node.ts +++ b/build/build.node.ts @@ -24,7 +24,13 @@ namespace $ { process.exit(1) } } else { - Promise.resolve().then( ()=> $mol_wire_async(build.server()).start() ) + Promise.resolve().then( ()=> { + try { + build.server().start() + } catch (error) { + $mol_fail_log(error) + } + }) } }