Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Sep 24, 2021
1 parent cb8aeba commit 550d391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/traceback.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ There are a few options to configure the traceback handler, see :func:`~rich.tra
Suppressing Frames
------------------

If you are working with a framework (click, django etc), you may only be interested in displaying code in your own application. You can exclude frameworks by setting the `suppress` argument on `Traceback`, `install`, and `print_exception`, which may be a iterable of modules or str paths.
If you are working with a framework (click, django etc), you may only be interested in seeing the code from your own application within the traceback. You can exclude framework code by setting the `suppress` argument on `Traceback`, `install`, and `Console.print_exception`, which should be a list of modules or str paths.

Here's how you would exclude [click](https://click.palletsprojects.com/en/8.0.x/) from Rich exceptions::

Expand Down

0 comments on commit 550d391

Please sign in to comment.