Added a continue-on-unload-error option #308
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a cleaned up version of a fork I have been testing on our rather large build chain for some time. It logs errors in the internal trace and continues if an unload errors occur instead of throwing exceptions if the flag is set. I left it disabled by default so that people have to knowingly choose to ignore the unload errors.
It's not ideal as once activated it becomes hard to see that errors are happening at all, requiring the users to look into the agent log files which, admittedly, no one does unless there's a problem...
If anyone has suggestions for ways to make the errors more apparent, let me know.
Sorry for the whitespace diffs, I have a VS plugin that removes trailing whitespace when saving a file in VS and forgot to turn it off before porting the changes to the branch.