Commit 7c28f80
committed
fix: wrap makeDsn in try/catch in buildEnvelopeUrl + fix generic error message
- makeDsn may throw SentryError internally; wrap in try/catch for safety
- requireDsn error message now uses canonical 'sentry send event' instead
of hardcoded 'sentry send-event' (wrong for send-envelope callers)1 parent b6f5bab commit 7c28f80
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| |||
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
72 | | - | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| |||
0 commit comments