Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback is incomplete after #5574 #5607

Closed
dhalbert opened this issue Nov 22, 2021 · 0 comments · Fixed by #5608
Closed

Traceback is incomplete after #5574 #5607

dhalbert opened this issue Nov 22, 2021 · 0 comments · Fixed by #5608
Assignees
Labels

Comments

@dhalbert
Copy link
Collaborator

CircuitPython version

Adafruit CircuitPython 7.1.0-beta.0-5-g1d76be2db on 2021-11-12; Adafruit Metro M4 Express with samd51j19

Code/REPL

def g():
    raise ValueError("a message")

def f():
    g()

f()

Behavior

Traceback has only one entry:

code.py output:
Traceback (most recent call last):
  File "code.py", line 7, in <module>
ValueError: a message

Description

Traceback should be:

code.py output:
Traceback (most recent call last):
  File "code.py", line 7, in <module>
  File "code.py", line 5, in f
  File "code.py", line 2, in g
ValueError: a message

This full traceback is seen in builds before #5574.

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants