Should still log a message even if AllowFailureWithoutError
is set
#6633
Labels
Area: Debuggability
Issues impacting the diagnosability of builds, including logging and clearer error messages.
Area: Logging
bug
help wanted
Issues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim.
triaged
Milestone
Looking at this logic:
msbuild/src/Build/BackEnd/Components/RequestBuilder/TaskBuilder.cs
Lines 937 to 958 in e9593e8
we should still log a message if
AllowFailureWithoutError
is set. If it's set, currently we log nothing, and that's makes it impossible to debug. We should log a message instead of logging nothing at all.See here microsoft/vstest#2953 for a real-world scenario where this would have helped a lot. VSTest sets AllowFailureWithoutError so we get ye olde
The text was updated successfully, but these errors were encountered: