Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Picture thumbs can not be deleted from local storage (#101)
Baiea401bd4ea5f
diff --git a/src/Business/Grand.Business.Storage/Services/PictureService.cs b/src/Business/Grand.Business.Storage/Services/PictureService.csindex cfb7a3689..0892996f2 100644--- a/src/Business/Grand.Business.Storage/Services/PictureService.cs+++ b/src/Business/Grand.Business.Storage/Services/PictureService.cs@@ -149,10 +149,13 @@ namespace Grand.Business.Storage.Services{try{- if (!File.Exists(currentFileName))+ if (File.Exists(currentFileName))File.Delete(currentFileName);}- catch { }+ catch (Exception ex)+ {+ _logger.InsertLog(Domain.Logging.LogLevel.Error, ex.Message);+ }}}return Task.CompletedTask;