Skip to content

Commit 506d538

Browse files
committed
copy
1 parent 9104ab8 commit 506d538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compass-indexes/src/modules/regular-indexes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function processError(error: string): string {
187187
const httpCodePattern = /\b(4\d{2}|5\d{2})\b/; // Matches HTTP codes 400-599 anywhere in the string
188188

189189
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.';
190+
return "We're sorry, an unexpected error has occurred. Please try again.";
191191
}
192192

193193
return error; // Return original error if it doesn't match the patterns

0 commit comments

Comments
 (0)