nopCommerce icon indicating copy to clipboard operation
nopCommerce copied to clipboard

Implement exception handling when using search providers

Open exileDev opened this issue 4 months ago • 0 comments

nopCommerce version: develop

Currently SearchProductsAsync method of ProductService doesn't handle any exceptions thrown by search providers (see https://github.com/nopSolutions/nopCommerce/blob/develop/src/Libraries/Nop.Services/Catalog/ProductService.cs#L910).

Let's add a setting indicating whether to return default search results when a search provider throws an exception

exileDev avatar Feb 12 '24 08:02 exileDev