Skip to content

Commit

Permalink
Update exception.md (#1803)
Browse files Browse the repository at this point in the history
delete dot)
  • Loading branch information
pepellsd committed Sep 20, 2024
1 parent c361a16 commit 2c2cda7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/en/getting-started/middlewares/exception.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Sometimes, you need to register exception processors at the top level of your ap
For this purpose, **FastStream** provides a special `ExceptionMiddleware`. You just need to create it, register handlers, and add it to the broker, router, or subscribers you want (as a [regular middleware](index.md){.internal-link}).

```python linenums="1"
from faststream. import ExceptionMiddleware
from faststream import ExceptionMiddleware

exception_middleware = ExceptionMiddleware()

Expand Down

0 comments on commit 2c2cda7

Please sign in to comment.