Skip to content

Show inner exceptions on binding redirect failures - #7468

Merged
zivkan merged 1 commit into
devfrom
dev-zivkan-AddBindingRedirects-logging
Jun 11, 2026
Merged

zivkan merged 1 commit into
devfrom
dev-zivkan-AddBindingRedirects-logging

Conversation

@zivkan

@zivkan zivkan commented Jun 10, 2026

Copy link
Copy Markdown
Member

Bug

Fixes: NuGet/Home#14940

Description

Use a helper method that includes inner exceptions, when logging failures during binding redirect calculations. This will help both customers, and the NuGet team, have a better idea about what might have gone wrong. Currently we don't have any information, and usually can't even guess how to fix the problem.

The product code depends on EnvDTE, so it's not practical to write unit tests. I wasn't able to figure out how to create a package that installs successfully, but then triggers the binding redirect failure, so I wasn't able to manually test this either. But I think it's a low risk change, because ExceptionUtilities.DisplayMessage is already being used elsewhere, so we should have confidence that it already works.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests See description above
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc. N/A

@zivkan
zivkan requested a review from a team as a code owner June 10, 2026 01:06
@zivkan
zivkan requested review from Nigusu-Allehu and nkolev92 June 10, 2026 01:06
@zivkan
zivkan merged commit 8119f5d into dev Jun 11, 2026
20 of 21 checks passed
@zivkan
zivkan deleted the dev-zivkan-AddBindingRedirects-logging branch June 11, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to update binding redirects error needs more information

4 participants