From 59604d7455e144333eec4160857a29fafc5f39ee Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 16 Aug 2021 11:18:32 -0400 Subject: fix --- src/listeners/other/exit.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 { - process.on('exit', () => {}); - void client.console.error('processExit', `Process ended with code <<${code}>>.`); + await client.console.error('processExit', `Process ended with code <<${code}>>.`); } } -- cgit