Commit e9436cd
authored
fix(sourcemaps): Fix incorrect chunk upload not supported error (#2931)
### Description
Supplying a non-existent organization to the `sentry-cli sourcemaps
upload` can cause an error, which states "This version of Sentry does
not support artifact bundles ...", even though this is not true. The
reason is that the endpoint to get the chunk upload options contains the
organization, and if a non-existent organization is supplied, we get a
404 error.
Here, we fix the error message to indicate that an incorrect
organization is the most likely explanation, while acknowledging that
lacking support for artifact bundles could also cause the problem.
### Issues
- Resolves #2820
- Resolves
[CLI-176](https://linear.app/getsentry/issue/CLI-176/non-existent-org-causes-chunk-upload-not-supported-error)1 parent ccab0d7 commit e9436cd
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
80 | 91 | | |
81 | 92 | | |
82 | 93 | | |
| |||
0 commit comments