ManimCommunity / ManimCommunity/manim

Add stack trace to warnings

Open
#4,981 5 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.