From ba04c73a5553bccee1534a7a0079ac50dcb519f4 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sat, 22 Feb 2020 20:12:22 +0000 Subject: [PATCH] readme --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 28624446..b6b3c63b 100644 --- a/README.md +++ b/README.md @@ -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.