mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08: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