Skip to content

Fix null message regression after quiet logger addition#44

Merged
richardsondev merged 4 commits intomainfrom
quietloggerregression
Jan 9, 2025
Merged

Fix null message regression after quiet logger addition#44
richardsondev merged 4 commits intomainfrom
quietloggerregression

Conversation

@richardsondev
Copy link
Owner

The Microsoft.Build.Utilities.Core LogError requires a non-null string. In the refactoring, the usages of LogError fell into a new overload of LogError which was passing a null message as the first two arguments of LogError signature were the same.

This removes the old logger and adds more protections for this case.

@richardsondev richardsondev merged commit 2b307e0 into main Jan 9, 2025
@richardsondev richardsondev deleted the quietloggerregression branch January 9, 2025 22:11
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.

1 participant