Skip to content

Commit 92aad66

Browse files
committed
fix comment lenght
1 parent b8bea99 commit 92aad66

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

site/src/api/errors.ts

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

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

0 commit comments

Comments
 (0)