mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-09 19:27:39 +02:00
Report the memer name and type when attributes cannot be found
This commit is contained in:
@@ -133,7 +133,7 @@ class ObjectInterface(metaclass=abc.ABCMeta):
|
||||
|
||||
def __getattr__(self, attr: str) -> Any:
|
||||
"""Method for ensuring volatility members can be returned."""
|
||||
raise AttributeError()
|
||||
raise AttributeError(f"Unable to find {attr} for type {self.vol.type_name}")
|
||||
|
||||
@property
|
||||
def vol(self) -> ReadOnlyMapping:
|
||||
|
||||
Reference in New Issue
Block a user