Do not crash if platform.start fails

With this change, the box code always starts up even if nginx fails,
docker fails etc.
This commit is contained in:
Girish Ramakrishnan
2018-11-10 18:21:15 -08:00
parent bd2b03876b
commit 6ec36c9605
4 changed files with 24 additions and 18 deletions

View File

@@ -262,7 +262,7 @@ function activate(username, password, email, displayName, ip, auditSource, callb
expires: result.expires
});
setTimeout(cloudron.onActivated, 3000); // hack for now to not block the above http response
setImmediate(cloudron.onActivated.bind(null, NOOP_CALLBACK)); // hack for now to not block the above http response
});
});
}