Removed duplicated rejection handling

Remove code accidentally left out by the change in 50703f8.
This commit is contained in:
Hornwitser committed 2023-02-17 23:52:31 +01:00
1 parent b7b7aa737a
commit 43e6dd60b3
1 file changed
-3
-3
View File
@@ -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 {