Skip to content

Commit 1023888

Browse files
fix: simplify 403 error message to only suggest re-authentication
1 parent 6d26185 commit 1023888

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/commands/project/delete.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ export const deleteCommand = buildCommand({
145145
throw new CliError(
146146
`Permission denied: You don't have permission to delete '${orgSlug}/${project.slug}'.\n\n` +
147147
"Project deletion requires the 'project:admin' scope.\n" +
148-
` - Check your role: sentry org view ${orgSlug}\n` +
149-
" - Re-authenticate: sentry auth login"
148+
" Re-authenticate: sentry auth login"
150149
);
151150
}
152151
throw error;

0 commit comments

Comments
 (0)