This commit is contained in:
Erik 2023-12-10 23:25:24 +02:00
parent 1751def65e
commit ac4dbc758d

View File

@ -149,7 +149,7 @@ class Shard extends EventEmitter
const onDisconnect = () =>
{
cleanup(true);
cleanup();
reject(new Error(`[shard${this.id}] Shard disconnected while readying.`));
};