Skip to content

Commit

Permalink
fix: Improve "release not found" message (#2112)
Browse files Browse the repository at this point in the history
Clarify that users need to check the release, project, and organization when encountering a "release not found" error, since any of these being wrong can cause a "release not found" error.

Fixes #2111
  • Loading branch information
szokeasaurusrex committed Aug 1, 2024
1 parent 4ab584d commit ee6e728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/errors/api_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub(in crate::api) enum ApiErrorKind {
ResourceNotFound,
#[error("Project not found. Please check that you entered the project and organization IDs or slugs correctly.")]
ProjectNotFound,
#[error("release not found")]
#[error("Release not found. Ensure that you configured the correct release, project, and organization.")]
ReleaseNotFound,
#[error("chunk upload endpoint not supported by sentry server")]
ChunkUploadNotSupported,
Expand Down

0 comments on commit ee6e728

Please sign in to comment.