-
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sourcemaps): Check for release or debug ids before upload (#1561)
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com> Co-authored-by: Riccardo Busetti <riccardob36@gmail.com>
- Loading branch information
1 parent
24fbfe9
commit 1b4c0d0
Showing
60 changed files
with
258 additions
and
50,737 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
tests/integration/_cases/sourcemaps/sourcemaps-upload-no-debugids.trycmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
``` | ||
$ sentry-cli sourcemaps upload tests/integration/_fixtures/upload_no_debugids | ||
? 1 | ||
> Found 20 files | ||
> Analyzing 20 sources | ||
> Rewriting sources | ||
> Adding source map references | ||
error: Cannot upload: You must either specify a release or have debug ids injected into your sources | ||
|
||
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output. | ||
Please attach the full debug log to all bug reports. | ||
|
Oops, something went wrong.