cake-build / cake-build/cake

Feature Request: Option to add StdError to exception message for processes

Open
#1,423 0 comments 0 reactions 0 assignees View on GitHub
Improvement
Dominant language
C#
Stars
4.2k
Forks
778
Avg merge
3h 37m
Merged PRs (30d)
21

Description

### What You Are Seeing?
when IProcess objects throw an error, there is a standard message in the exception text that is not very useful (it is almost always the same).

### What is Expected?
It would be ideal if there was an option to place the "standard error" output in the exception message (or create a "Details" property with this output) as it would make it much easier to handle error cases in the code in a standard manner

Contributor guide

Open the contributing guide

Research direction

Start by locating the IProcess implementation and its exception-handling tests, then trace where process standard error is handled. Done means the requested opt-in error detail is exposed consistently and covered by tests; the issue does not name a file or test, so repository exploration is required.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.