mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
chore(core): Upgrade backend @sentry packages to 8.42.0 (#12061)
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@n8n/config": "workspace:*",
|
||||
"@sentry/integrations": "catalog:",
|
||||
"@sentry/node": "catalog:",
|
||||
"acorn": "8.14.0",
|
||||
"acorn-walk": "8.3.4",
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
import { RewriteFrames } from '@sentry/integrations';
|
||||
import { init, setTag, captureException, close } from '@sentry/node';
|
||||
import type { ErrorEvent, EventHint } from '@sentry/types';
|
||||
import {
|
||||
init,
|
||||
setTag,
|
||||
captureException,
|
||||
close,
|
||||
rewriteFramesIntegration,
|
||||
type EventHint,
|
||||
type ErrorEvent,
|
||||
} from '@sentry/node';
|
||||
import * as a from 'assert/strict';
|
||||
import { createHash } from 'crypto';
|
||||
import { ApplicationError } from 'n8n-workflow';
|
||||
@@ -52,7 +58,7 @@ export class ErrorReporter {
|
||||
beforeSend: async (event, hint) => await this.beforeSend(event, hint),
|
||||
integrations: (integrations) => [
|
||||
...integrations.filter(({ name }) => ENABLED_INTEGRATIONS.includes(name)),
|
||||
new RewriteFrames({ root: process.cwd() }),
|
||||
rewriteFramesIntegration({ root: process.cwd() }),
|
||||
],
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user