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 9104ab8 commit 506d538Copy full SHA for 506d538
packages/compass-indexes/src/modules/regular-indexes.ts
@@ -187,7 +187,7 @@ function processError(error: string): string {
187
const httpCodePattern = /\b(4\d{2}|5\d{2})\b/; // Matches HTTP codes 400-599 anywhere in the string
188
189
if (internalCodePattern.test(error) || httpCodePattern.test(error)) {
190
- return 'Sorry, an unexpected error has occurred. Try refreshing the page or reporting the issue if it persists.';
+ return "We're sorry, an unexpected error has occurred. Please try again.";
191
}
192
193
return error; // Return original error if it doesn't match the patterns
0 commit comments