Skip to content

Commit

Permalink
Update dictionary.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPeck committed Oct 18, 2024
1 parent 3a374e5 commit afa7941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/services/dictionary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export async function updateFacetsFromSearch(
} catch (error) {
console.error('Failed to update facets from search:', error);
// You might want to throw the error or return a default value depending on your use case
return [];
throw error;
}
}

Expand Down

0 comments on commit afa7941

Please sign in to comment.