Fix missing parent class init in base exception (#1077)

This commit is contained in:
Wu Clan
2026-02-13 15:08:58 +08:00
committed by GitHub
parent bcdaf3f3c9
commit 1de4201b52

View File

@@ -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):