Skip to content

Line number in errors is relative to function instead of the whole file. #30

@ThibH

Description

@ThibH

For example I get an error:

# Error: list index out of range
# Traceback (most recent call last):
#   File "<string>", line 72, in submit
# IndexError: list index out of range # 

But it's in fact line 72 considering that line 0 is at the beginning of the submit function. The real line number was in fact 121.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions