Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.0.0.
Framework Version
Node v20.12.1
Link to Sentry event
https://ticket-tool-helper.sentry.io/issues/5357809318/?project=4507264120717312&query=is%3Aunresolved&referrer=issue-stream&stream_index=0
SDK Setup
import { init } from "@sentry/node";
import { nodeProfilingIntegration } from "@sentry/profiling-node";
init({
dsn: process.env.SENTRY_DSN_URL,
integrations: [
nodeProfilingIntegration(),
],
tracesSampleRate: 1.0,
profilesSampleRate: 1.0
});
Steps to Reproduce
I'm using https://github.com/discordjs/discord.js and since I updated to Sentry v8, without changing any of my other dependencies, I'm facing the following error in a function that is simply trying to import a discord.js class.
[Error: ENOENT: no such file or directory, open 'C:\...\node_modules\@discordjs\builders\dist\@discordjs\formatters']
I think it's on sentry the root of the error given by the fact that when using @sentry/node@7.113.0 this error didn't happen. If I remove my sentry init, the program will work fine too
Expected Result
The program would not detect any error
Actual Result
A
[Error: ENOENT: no such file or directory, open 'C:\...\node_modules\@discordjs\builders\dist\@discordjs\formatters']
is captured as an error and stops the execution of the function that was doing an import
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.0.0.
Framework Version
Node v20.12.1
Link to Sentry event
https://ticket-tool-helper.sentry.io/issues/5357809318/?project=4507264120717312&query=is%3Aunresolved&referrer=issue-stream&stream_index=0
SDK Setup
Steps to Reproduce
I'm using https://github.com/discordjs/discord.js and since I updated to Sentry v8, without changing any of my other dependencies, I'm facing the following error in a function that is simply trying to import a discord.js class.
I think it's on sentry the root of the error given by the fact that when using
@sentry/node@7.113.0this error didn't happen. If I remove my sentry init, the program will work fine tooExpected Result
The program would not detect any error
Actual Result
A
is captured as an error and stops the execution of the function that was doing an import