diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs index 0c2f29c737..636324f0f6 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs @@ -8,6 +8,7 @@ using System.Linq; using System.Net.Http; using System.Reflection; using System.Text; +using System.Text.Json; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; @@ -222,10 +223,8 @@ public class AbpIoSourceCodeStore : ISourceCodeStore, ITransientDependency versions.FrameworkAndCommercialVersions.Any(v => v.Name == version); } } - catch (Exception ex) + catch (Exception) { - Logger.LogWarning($"Error occured while getting the versions from {url} : {ex.Message}"); - // The remote service is currently unavailable, try to work offline. return true; } }