Skip to content
Prev Previous commit
oejfa;oihegfiou'awrgiuhwaeoug'awikuehjfo;ia
  • Loading branch information
aslilac committed Mar 19, 2024
commit c30988cdaaea98bccd0738bee7f91ea1c0323bf7
2 changes: 1 addition & 1 deletion site/src/api/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const getValidationErrorMessage = (error: unknown): string => {

export const getErrorDetail = (error: unknown): string | undefined | null => {
if (error instanceof Error) {
return `Please check the developer console for more details.`;
return "Please check the developer console for more details.";
}
if (isApiError(error)) {
return error.response.data.detail;
Expand Down