Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Feb 22, 2020
1 parent e33afdd commit ba04c73
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,14 @@ The `Table` class is smart enough to resize columns to fit the available width o

## Tracebacks

Rich can render beautiful tracebacks which are easier to read and show more code than standard Python tracebacks.
Rich can render beautiful tracebacks which are easier to read and show more code than standard Python tracebacks. You can set Rich as the default traceback handler so all uncaught exceptions will be rendered by Rich.

Here's what it looks like on OSX (similar on Linux):

![traceback](./imgs/traceback.png)

Here's what it looks like on Linux.

![traceback_windows](./imgs/traceback_windows.png)

See the [rich traceback](https://rich.readthedocs.io/en/latest/traceback) documentation for the details.

0 comments on commit ba04c73

Please sign in to comment.