mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Removed duplicated rejection handling
Remove code accidentally left out by the change in 50703f8.
This commit is contained in:
1 parent
b7b7aa737a
commit
43e6dd60b3
1 file changed
-3
@@ -136,9 +136,6 @@ async function startSlave() {
|
||||
logger.info(`Starting Clusterio slave ${version}`);
|
||||
}
|
||||
|
||||
// add better stack traces on promise rejection
|
||||
process.on("unhandledRejection", err => logger.error(`Unhandled rejection:\n${err.stack}`));
|
||||
|
||||
logger.info(`Loading available plugins from ${args.pluginList}`);
|
||||
let pluginList = new Map();
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user