Skip to content

refactor(site): give default error message when description is missing #7846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
refactor(site): error
  • Loading branch information
BrunoQuaresma committed Jun 5, 2023
commit 1be2bfde0b9108ee6e6bf764d5e55894787c0a31
2 changes: 1 addition & 1 deletion site/src/api/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ export const getErrorDetail = (
isApiError(error)
? error.response.data.detail
: error instanceof Error
? error.stack
? `Please verify the developer console for more details.`
: null