Skip to content

Commit

Permalink
fix(deps): update dependency @sentry/node to v8 (#2625)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Aura Román <[email protected]>
  • Loading branch information
renovate[bot] and kyranet authored May 19, 2024
1 parent ca27e33 commit 43c0bed
Show file tree
Hide file tree
Showing 3 changed files with 807 additions and 104 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
"@sapphire/stopwatch": "^1.5.2",
"@sapphire/time-utilities": "^1.7.12",
"@sapphire/utilities": "^3.15.3",
"@sentry/integrations": "^7.114.0",
"@sentry/node": "^7.116.0",
"@sentry/node": "^8.2.1",
"@skyra/ai": "^1.2.0",
"@skyra/char": "^1.0.3",
"@skyra/env-utilities": "^1.3.0",
Expand Down
16 changes: 9 additions & 7 deletions src/Skyra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import '#lib/setup';
import { SkyraClient } from '#lib/SkyraClient';
import { rootFolder } from '#utils/constants';
import { container } from '@sapphire/framework';
import { RewriteFrames } from '@sentry/integrations';
import * as Sentry from '@sentry/node';
import { envIsDefined, envParseString } from '@skyra/env-utilities';

Expand All @@ -16,12 +15,15 @@ async function main() {
Sentry.init({
dsn: envParseString('SENTRY_URL'),
integrations: [
new Sentry.Integrations.Modules(),
new Sentry.Integrations.FunctionToString(),
new Sentry.Integrations.LinkedErrors(),
new Sentry.Integrations.Console(),
new Sentry.Integrations.Http({ breadcrumbs: true, tracing: true }),
new RewriteFrames({ root: rootFolder })
Sentry.consoleIntegration(),
Sentry.functionToStringIntegration(),
Sentry.linkedErrorsIntegration(),
Sentry.modulesIntegration(),
Sentry.onUncaughtExceptionIntegration(),
Sentry.onUnhandledRejectionIntegration(),
Sentry.httpIntegration({ breadcrumbs: true }),
Sentry.postgresIntegration(),
Sentry.rewriteFramesIntegration({ root: rootFolder })
]
});
}
Expand Down
Loading

0 comments on commit 43c0bed

Please sign in to comment.