diff --git a/src/HABApp/core/internals/wrapped_function/__init__.py b/src/HABApp/core/internals/wrapped_function/__init__.py index 14690eab..0eb431ef 100644 --- a/src/HABApp/core/internals/wrapped_function/__init__.py +++ b/src/HABApp/core/internals/wrapped_function/__init__.py @@ -1,5 +1,6 @@ from HABApp.core.internals.wrapped_function.base import WrappedFunctionBase + # isort: split from HABApp.core.internals.wrapped_function.wrapper import wrap_func diff --git a/src/HABApp/core/wrapper.py b/src/HABApp/core/wrapper.py index 9ef8971a..c3218977 100644 --- a/src/HABApp/core/wrapper.py +++ b/src/HABApp/core/wrapper.py @@ -89,7 +89,7 @@ def f(*args, **kwargs): class ExceptionToHABApp: - def __init__(self, logger: Logger | None = None, log_level: int = logging.ERROR, + def __init__(self, logger: Logger | None = None, log_level: int = logging.ERROR, *, ignore_exception: bool = True) -> None: self.log: Logger | None = logger self.log_level = log_level