Repository navigation
Commit 498d24a
fix(observability): make Sentry route errors, releases and environments usable
Route crashes were all reported as one synthetic error with the boundary's
stack, so Sentry grouped every crash into a single issue. They now keep the
original error type and code-location frames while the message, which can
carry user text, is still replaced.
Sentry events now carry the commit SHA as release and VERCEL_ENV as
environment, so release health works and previews stop reporting as
production. Hidden source maps are uploaded and deleted when
SENTRY_AUTH_TOKEN, SENTRY_ORG and SENTRY_PROJECT are set.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 0bda733 commit 498d24a
11 files changed
Lines changed: 765 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| |||
0 commit comments