mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
Fix missing parent class init in base exception (#1077)
This commit is contained in:
@@ -16,6 +16,7 @@ class BaseExceptionError(Exception):
|
||||
self.data = data
|
||||
# The original background task: https://www.starlette.io/background/
|
||||
self.background = background
|
||||
super().__init__(msg)
|
||||
|
||||
|
||||
class HTTPError(HTTPException):
|
||||
|
||||
Reference in New Issue
Block a user