Skip to content

Commit 01619bc

Browse files
committed
Pass on inner exception in GivenThatIWantToInstallDotnetFromAScript.Dispose()
1 parent 881f584 commit 01619bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Install-Scripts.Test/GivenThatIWantToInstallDotnetFromAScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public void Dispose()
208208
}
209209
catch (UnauthorizedAccessException e)
210210
{
211-
throw new Exception($"Failed to remove {_sdkInstallationDirectory}");
211+
throw new Exception($"Failed to remove {_sdkInstallationDirectory}", e);
212212
}
213213
}
214214

0 commit comments

Comments
 (0)