Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b79132 commit 1b39235Copy full SHA for 1b39235
site/src/api/errors.ts
@@ -115,8 +115,8 @@ export const getErrorDetail = (error: unknown): string | undefined => {
115
return error.detail;
116
}
117
118
- // APIErrors that are empty still benefit from checking the developer
119
- // console if no detail is provided. So only use the detail field if
+ // APIErrors that are empty still benefit from checking the developer
+ // console if no detail is provided. So only use the detail field if
120
// it is not empty.
121
if (isApiError(error) && error.response.data.detail) {
122
return error.response.data.detail;
0 commit comments