cake-build/cake
View on GitHubTool.Run should make stdout and stderr available on failure
Open
#2,460 opened on Jan 24, 2019
Help wantedImprovementUp-for-grabs
Repository metrics
- Stars
- (3,742 stars)
- PR merge metrics
- (Avg merge 1d 1h) (25 merged PRs in 30d)
Description
Tool.Run and related should make stdout and stderr available so that some analysis is possible on failure. Currently it calls ProcessExitCode which throws a simple CakeException.
Ideally, it would capture stdout and stderr and throw a CakeProcessException, or similar, that has additional properties for exit code, stdout and stderr.