mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
UppAudit: better indicate exception cause
Change-Id: I4d986b89a473a5b12ed56b4710263b034876a33e
This commit is contained in:
@@ -167,7 +167,7 @@ class UppAudit(dict):
|
|||||||
try:
|
try:
|
||||||
for valdict in param.get_values_from_pes(pes):
|
for valdict in param.get_values_from_pes(pes):
|
||||||
upp_audit.add_values(valdict)
|
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
|
raise ValueError(f'Error during audit for parameter {param}: {e}') from e
|
||||||
|
|
||||||
if not additional_sd_keys:
|
if not additional_sd_keys:
|
||||||
|
|||||||
Reference in New Issue
Block a user