diff options
-rw-r--r-- | src/listeners/other/exit.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/listeners/other/exit.ts b/src/listeners/other/exit.ts index d7c12f9..e860eda 100644 --- a/src/listeners/other/exit.ts +++ b/src/listeners/other/exit.ts @@ -9,7 +9,6 @@ export default class ExitListener extends BushListener { } public override async exec(code: number): Promise<void> { - process.on('exit', () => {}); - void client.console.error('processExit', `Process ended with code <<${code}>>.`); + await client.console.error('processExit', `Process ended with code <<${code}>>.`); } } |