Repository navigation
Commit 2326243
fix(install): Send error envelopes with Sentry CLI v4 (#4643)
From 4.0.0 on, getsentry/sentry-cli:latest is the v4 CLI. It has no
send-envelope command, so the install error reporter would stop sending
reports. send_envelope now checks the image's --version and uses
`event send --raw` on v4, keeping send-envelope for the v3 image that
latest still points to until 4.0.0 is published.
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: BYK <126780+BYK@users.noreply.github.com>1 parent bdcac99 commit 2326243
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
| |||
0 commit comments