UppAudit: better indicate exception cause

Change-Id: I4d986b89a473a5b12ed56b4710263b034876a33e
This commit is contained in:
Neels Hofmeyr
2026-01-25 19:49:58 +01:00
parent 8cc7421faa
commit 49d4ba38e0

View File

@@ -164,7 +164,7 @@ class UppAudit(dict):
try:
for valdict in param.get_values_from_pes(pes):
upp_audit.add_values(valdict)
except (TypeError, ValueError) as e:
except Exception as e:
raise ValueError(f'Error during audit for parameter {param}: {e}') from e
if not additional_sd_keys: