getsentry / getsentry/sentry-javascript

Node stack filenames should be relative to app root

未关闭
#9,072 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Improvement Meta: Breaking
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

### 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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。