diff --git a/src/utilities/__init__.py b/src/utilities/__init__.py index ace227c2c..59d1fafb9 100644 --- a/src/utilities/__init__.py +++ b/src/utilities/__init__.py @@ -1,3 +1,3 @@ from __future__ import annotations -__version__ = "0.90.9" +__version__ = "0.90.10" diff --git a/src/utilities/traceback.py b/src/utilities/traceback.py index e991a9477..49e6be73e 100644 --- a/src/utilities/traceback.py +++ b/src/utilities/traceback.py @@ -95,7 +95,8 @@ def format(self, record: LogRecord) -> str: if record.exc_info is None: return f"ERROR: {record.exc_info=}" _, exc_value, _ = record.exc_info - error = get_rich_traceback(ensure_not_none(exc_value), git_ref=self._git_ref) + exc_value = ensure_not_none(exc_value, desc="exc_value") + error = get_rich_traceback(exc_value, git_ref=self._git_ref) match error: case ExcChainTB() | ExcGroupTB() | ExcTB(): text = error.format(header=True, detail=self._detail)