From e3a06da8bb245b538dc5c50669058586b58c6e73 Mon Sep 17 00:00:00 2001 From: Emre KARA Date: Wed, 11 Jun 2025 12:03:30 +0300 Subject: [PATCH] remove unused exception variable in catch block. --- .../EnvironmentInspection/Detectors/AbpStudioDetector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Telemetry/EnvironmentInspection/Detectors/AbpStudioDetector.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Telemetry/EnvironmentInspection/Detectors/AbpStudioDetector.cs index fb67a929ed..e7a6620b2c 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/Telemetry/EnvironmentInspection/Detectors/AbpStudioDetector.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Telemetry/EnvironmentInspection/Detectors/AbpStudioDetector.cs @@ -22,7 +22,7 @@ internal class AbpStudioDetector : SoftwareDetector return Task.FromResult(new SoftwareInfo(Name, version, uiTheme, SoftwareType.AbpStudio)); } - catch (Exception e) + catch { return Task.FromResult(null); }