Skip to content

Avoid logging warnings when cancellation is requested - #114

Merged
David Federman (dfederm) merged 1 commit into
mainfrom
cancellation-logging
Jan 23, 2025
Merged

David Federman (dfederm) merged 1 commit into
mainfrom
cancellation-logging

Conversation

@dfederm

@dfederm David Federman (dfederm) commented Jan 23, 2025 •

Copy link
Copy Markdown
Member

This avoid logging a warning when cancellation is requested and instead logs a debug level message.

There is also some light refactoring of the sync TimeAndLog path to avoid Task overhead.

Note that cancellation exceptions are still rethrown now which crashes MSBuild. This will need to be addressed from within MSBuild itself.

@dfederm
David Federman (dfederm) deleted the cancellation-logging branch January 23, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants