Skip to content

Commit 7b79132

Browse files
committed
fix comment length with proper spaces before
1 parent 8ab1dd4 commit 7b79132

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

site/src/api/errors.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,9 @@ export const getErrorDetail = (error: unknown): string | undefined => {
115115
return error.detail;
116116
}
117117

118-
// APIErrors that are empty still benefit from checking the developer console
119-
// if no detail is provided. So only use the detail field if it is not empty.
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
120+
// it is not empty.
120121
if (isApiError(error) && error.response.data.detail) {
121122
return error.response.data.detail;
122123
}

0 commit comments

Comments
 (0)