diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-26 17:16:32 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-26 17:16:32 -0500 |
commit | fc390ffc300334c396d9d06b0feaf8fbc6ed2814 (patch) | |
tree | a6282a74cf99033291ac7bc9de123ae273d528d2 /src/listeners/other | |
parent | 062435590980b87f5b054418ed88604e26358ae9 (diff) | |
download | tanzanite-fc390ffc300334c396d9d06b0feaf8fbc6ed2814.tar.gz tanzanite-fc390ffc300334c396d9d06b0feaf8fbc6ed2814.tar.bz2 tanzanite-fc390ffc300334c396d9d06b0feaf8fbc6ed2814.zip |
documentation, bug fixes etc
Diffstat (limited to 'src/listeners/other')
-rw-r--r-- | src/listeners/other/warning.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/listeners/other/warning.ts b/src/listeners/other/warning.ts index 4dd79fe..57f2a7d 100644 --- a/src/listeners/other/warning.ts +++ b/src/listeners/other/warning.ts @@ -11,6 +11,8 @@ export default class WarningListener extends BushListener { } public override async exec(error: Error) { + if (error.name === 'ExperimentalWarning') return; + client.sentry.captureException(error, { level: Severity.Warning }); |