From 04038317d88966c2e46ce31399a633106c504d65 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Tue, 27 Sep 2022 10:35:31 +0300 Subject: [PATCH] Update AbpIoSourceCodeStore.cs --- .../Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } }