Qix-/better-exceptions

Hyperlinks

Open

#61 opened on Dec 12, 2018

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Python (210 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,489 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

It would be great if the better exceptions could output file:/// hyperlinks using the new ansi standard.

I'm not quite sure which bit of the output should be the link.

Unfortunately AFAICT line numbers aren't supported, but just being able to click from somewhere in the exception and open the file would be a big plus.

https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

Contributor guide