From 01619bc6a50ff5f2d19c87371fef3ac000b02254 Mon Sep 17 00:00:00 2001 From: PhilippNaused Date: Thu, 13 Nov 2025 20:37:09 +0100 Subject: [PATCH] Pass on inner exception in GivenThatIWantToInstallDotnetFromAScript.Dispose() --- .../GivenThatIWantToInstallDotnetFromAScript.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Install-Scripts.Test/GivenThatIWantToInstallDotnetFromAScript.cs b/tests/Install-Scripts.Test/GivenThatIWantToInstallDotnetFromAScript.cs index 48272686c..320c5804e 100644 --- a/tests/Install-Scripts.Test/GivenThatIWantToInstallDotnetFromAScript.cs +++ b/tests/Install-Scripts.Test/GivenThatIWantToInstallDotnetFromAScript.cs @@ -208,7 +208,7 @@ public void Dispose() } catch (UnauthorizedAccessException e) { - throw new Exception($"Failed to remove {_sdkInstallationDirectory}"); + throw new Exception($"Failed to remove {_sdkInstallationDirectory}", e); } }