diff --git a/src/magic_di/_injector.py b/src/magic_di/_injector.py index 59878e0..3d8f2c9 100644 --- a/src/magic_di/_injector.py +++ b/src/magic_di/_injector.py @@ -133,7 +133,7 @@ def inspect(self, obj: AnyObject) -> Signature[AnyObject]: else: signature.deps[name] = hint - except Exception as exc: # noqa: BLE001 + except Exception as exc: raise InspectionError(obj) from exc return signature