ManimCommunity / ManimCommunity/manim
Add stack trace to warnings
Open
Nobody has claimed this yet.
easy
good first issue
new feature
- Dominant language
- Python
- Stars
- 40.9k
- Forks
- 3.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Description
## Description of proposed feature
Warnings messages to the user should include the stack trace, so the user knows where it was caused from.
```py
logger.warning(
"Don't do ...",
stack_info=True,
stacklevel=2,
)
```
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
Start by locating the Python logger.warning calls that emit user-facing warnings and inspect how those warnings are currently produced. Done means the applicable warning messages include the requested stack trace and identify where they originated; add or update tests where the existing warning behavior is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100