getsentry / getsentry/sentry-javascript

Node stack filenames should be relative to app root

Offen
#9,072 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Improvement Meta: Breaking
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
515

Beschreibung

### Problem Statement

Currently, the Node SDK captures absolute paths for stack trace filenames.

This has a number of disadvantages:
- Change of hosting config or provider might change the paths
- Paths differ by OS/username

These differences can impact error grouping.

### Solution Brainstorm

For the Electron SDK the OS/username in paths was a major issue so we already cater for this by normalising paths to the application root.

We should do something similar for the Node SDK but this will be a breaking change since it would affect customer error grouping.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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