From 19a1371e308e0c6eaf0ec550217408b2ac5b948b Mon Sep 17 00:00:00 2001 From: Jonathan Sick Date: Tue, 7 May 2024 20:49:52 -0400 Subject: [PATCH] Fix typo in /error-demo docs --- src/fastapibootcamp/handlers/external.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastapibootcamp/handlers/external.py b/src/fastapibootcamp/handlers/external.py index aa0dfad..4b29871 100644 --- a/src/fastapibootcamp/handlers/external.py +++ b/src/fastapibootcamp/handlers/external.py @@ -380,7 +380,7 @@ class ErrorRequestModel(BaseModel): "/error-demo", summary="Raise an internal service exception." ) async def post_error_demo(data: ErrorRequestModel) -> JSONResponse: - """Use the custom_error field to compare the different between raising + """Use the custom_error field to compare the difference between raising a custom SlackException and a generic exception. """ if data.custom_error: