diff --git a/confhub/core/error.py b/confhub/core/error.py index 0e69934..1509925 100644 --- a/confhub/core/error.py +++ b/confhub/core/error.py @@ -6,7 +6,10 @@ class ConfhubError(Exception): - ... + def __init__(self, message, **kwargs): + logger.error(message, exc_info=True, **kwargs) + + super().__init__(message) def confhub_error(message: str, **kwargs) -> None: