forked from svrjs/svrjs
Remove notifications about broken mods and server-side JavaScript outside the start function
This commit is contained in:
parent
1f043d774a
commit
1403a37dea
1 changed files with 0 additions and 9 deletions
|
@ -2144,15 +2144,6 @@ function start(init) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
modLoadingErrors.forEach((modLoadingError) => {
|
|
||||||
console.log('Error while loading "' + modLoadingError.modName + '" mod:');
|
|
||||||
console.log(modLoadingError.error);
|
|
||||||
});
|
|
||||||
if (SSJSError) {
|
|
||||||
console.log("Error while loading server-side JavaScript:");
|
|
||||||
console.log(SSJSError);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Process event listeners
|
// Process event listeners
|
||||||
if (cluster.isPrimary || cluster.isPrimary === undefined) {
|
if (cluster.isPrimary || cluster.isPrimary === undefined) {
|
||||||
// Crash handler
|
// Crash handler
|
||||||
|
|
Reference in a new issue