fix(web) accurate error message for embeddedlistsearch (#12622)

This commit is contained in:
Jay 2025-02-28 19:18:23 -05:00 committed by GitHub
parent f3b17d4d4c
commit 862d1ac864
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -354,8 +354,8 @@ export const EmbeddedListSearch = ({
let errorMessage = '';
if (error) {
errorMessage =
'Failed to load results! An unexpected error occurred. This may be due to a timeout when fetching lineage results.';
console.error('Failed to load results', error);
errorMessage = `Failed to load results due to an unexpected error. Please try again later.`;
}
return (