Make exception throwing consistent in the PDB gathering API. Avoid returning an empty symbol_table name when the PDB cannot be downloaded.

This commit is contained in:
Andrew Case
2025-03-10 16:23:00 +00:00
parent a4bbdfdded
commit 2a99a53784
@@ -411,7 +411,9 @@ class PDBUtility(interfaces.configuration.VersionableInterface):
)
if symbol_table_name is None:
raise exceptions.VolatilityException(f"Symbol table could not be reconstructed for module {pdb_name}")
raise exceptions.VolatilityException(
f"Symbol table could not be reconstructed for module {pdb_name}"
)
return symbol_table_name