Skip to content

Commit

Permalink
Merge pull request #1805 from glopesdev/issue-1804
Browse files Browse the repository at this point in the history
Log full exception trace for console bootstrap
  • Loading branch information
glopesdev authored May 20, 2024
2 parents c5db2c0 + 5b9fb4f commit 5e33b1a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Bonsai.Configuration/ConsoleBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,7 @@ protected override async Task RunPackageOperationAsync(Func<Task> 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;
}
}
Expand Down

0 comments on commit 5e33b1a

Please sign in to comment.