mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 16:13:12 +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}`);
|
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}`);
|
logger.info(`Loading available plugins from ${args.pluginList}`);
|
||||||
let pluginList = new Map();
|
let pluginList = new Map();
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in new issue
Block a user