aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord-akairo
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-11 17:09:46 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-11 17:09:46 -0500
commit430787969d73de770385f5ee0a131fc85f433762 (patch)
treeacd7225ad805290e2ae879765e255e4891dc3226 /src/lib/extensions/discord-akairo
parent624445fa6d6f19da1aead1aa2ecc15f878fae231 (diff)
downloadtanzanite-430787969d73de770385f5ee0a131fc85f433762.tar.gz
tanzanite-430787969d73de770385f5ee0a131fc85f433762.tar.bz2
tanzanite-430787969d73de770385f5ee0a131fc85f433762.zip
hopefully handle some errors better
Diffstat (limited to 'src/lib/extensions/discord-akairo')
-rw-r--r--src/lib/extensions/discord-akairo/BushClient.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts
index 45ad7ca..c87a1d9 100644
--- a/src/lib/extensions/discord-akairo/BushClient.ts
+++ b/src/lib/extensions/discord-akairo/BushClient.ts
@@ -367,6 +367,7 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re
await this.login(this.token!);
} catch (e) {
await this.console.error('start', util.inspect(e, { colors: true, depth: 1 }), false);
+ process.exit(1);
}
}