diff --git a/Bonsai.Configuration/ConsoleBootstrapper.cs b/Bonsai.Configuration/ConsoleBootstrapper.cs index 1046d683..e076d26e 100644 --- a/Bonsai.Configuration/ConsoleBootstrapper.cs +++ b/Bonsai.Configuration/ConsoleBootstrapper.cs @@ -18,14 +18,7 @@ protected override async Task RunPackageOperationAsync(Func operationFacto try { await operationFactory(); } catch (Exception ex) { - if (ex is AggregateException aex) - { - foreach (var error in aex.InnerExceptions) - { - PackageManager.Logger.LogError(error.Message); - } - } - else PackageManager.Logger.LogError(ex.Message); + PackageManager.Logger.LogError(ex.ToString()); throw; } }