canonical / canonical/craft-cli
Capture warnings and present them to developers.
Open
- Dominant language
- Python
- Stars
- 16
- Forks
- 27
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 12
Description
### What needs to get done
Use [`logging.captureWarnings`](https://docs.python.org/3/library/logging.html#logging.captureWarnings) to capture warnings and present them in a developer-friendly manner. This should be done in a way that hides them from the user by default.
### Why it needs to get done
Currently we don't capture warnings, so code that raises warnings that don't get ignored could cause weird output.
Contributor guide
Assessment
This issue has not been assessed yet.