Skip to content

Commit

Permalink
fix: Improve "project not found" message (#2112)
Browse files Browse the repository at this point in the history
Update "project not found" message to avoid mentioning "IDs" and "slugs," which might confuse some users. Instead, make this error message follow the same format as the "release not found" message.
  • Loading branch information
szokeasaurusrex committed Aug 1, 2024
1 parent ee6e728 commit 8343763
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 @@ -24,7 +24,7 @@ pub(in crate::api) enum ApiErrorKind {
OrganizationNotFound,
#[error("resource not found")]
ResourceNotFound,
#[error("Project not found. Please check that you entered the project and organization IDs or slugs correctly.")]
#[error("Project not found. Ensure that you configured the correct project and organization.")]
ProjectNotFound,
#[error("Release not found. Ensure that you configured the correct release, project, and organization.")]
ReleaseNotFound,
Expand Down

0 comments on commit 8343763

Please sign in to comment.