We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0953ed1 commit b636a69Copy full SHA for b636a69
1 file changed
client/src/lib/submission-error.ts
@@ -120,12 +120,15 @@ export function handleSubmissionFailure(
120
let description: string;
121
if (isCaughtError) {
122
description = "An unexpected error occurred. Please try again later.";
123
- } else if (failure.statusCode && failure.statusCode >= 400 && failure.statusCode < 500) {
+ } else if (
124
+ failure.statusCode &&
125
+ failure.statusCode >= 400 &&
126
+ failure.statusCode < 500
127
+ ) {
128
description =
129
"Please review your data and try again. If the problem persists, contact support.";
130
} else {
- description =
- "Our server ran into a problem. Please try again later.";
131
+ description = "Our server ran into a problem. Please try again later.";
132
}
133
134
const contactInfo = isAuthenticated
0 commit comments