mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-07 02:07:39 +02:00
Merge pull request #1767 from volatilityfoundation/bugfix/layer_deletion_exception_msg
Layers: Fix exception message
This commit is contained in:
@@ -678,7 +678,7 @@ class LayerContainer(collections.abc.Mapping):
|
||||
if name in self._layers[layer].dependencies:
|
||||
raise exceptions.LayerException(
|
||||
self._layers[layer].name,
|
||||
f"Layer {self._layers[layer].name} is depended upon by {layer}",
|
||||
f"Layer {name} is depended upon by {layer}",
|
||||
)
|
||||
# Otherwise, wipe out the layer
|
||||
self._layers[name].destroy()
|
||||
|
||||
Reference in New Issue
Block a user