Strip colors from exceptions
Open
Nobody has claimed this yet.
whateverable
- Dominant language
- Raku
- Stars
- 19
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
This should not really touch any users, but when the exception is gisted the colors appear like this:
Cannot convert string to number: base-10 number must begin with valid digits or '.' in '�[32m⏏�[31mHEAD(12d7d5b)�[0m' (indicated by ⏏�[0m)
Definitely LTA.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides a reproduced exception from the gisting path, but names no files or tests. Start by locating where exceptions are formatted or gisted, then reproduce the example and trace the color sequences. Done means gisted exceptions no longer contain terminal color escape sequences.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100