diff --git a/frappy_psi/sea.py b/frappy_psi/sea.py index 2d98cc3..d77d84d 100644 --- a/frappy_psi/sea.py +++ b/frappy_psi/sea.py @@ -425,7 +425,7 @@ class SeaEnum(EnumType): value = int(value) return super().__call__(value) except Exception as e: - raise ReadFailedError(e) + raise ReadFailedError(e) from e def get_datatype(paramdesc):