getsentry / getsentry/sentry-javascript

Include source files in your Node.js bundles

Offen
#17,120 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Feature
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
515

Beschreibung

### Problem Statement

At the moment, some of the stack traces are linking to source files, e.g.

```
… es/.pnpm/@sentry+node@9.40.0/node_modules/@sentry/node/src/integrations/tracing/fastify/index.ts in handleFastifyError.handleFastifyError at line 87:5
… es/.pnpm/@sentry+node@9.40.0/node_modules/@sentry/node/src/integrations/tracing/fastify/index.ts in at line 123:24
node:diagnostics_channel in Channel.publish at line 150:9
```

but these is only `build` directory in `node_modules`, making it impossible to look up the original site of the error.

### Solution Brainstorm

Related to https://github.com/getsentry/sentry-javascript/issues/17119#issuecomment-3101440061

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.