laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/42259?usp=email )
(
6 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: UppAudit: better indicate exception cause ......................................................................
UppAudit: better indicate exception cause
Change-Id: I4d986b89a473a5b12ed56b4710263b034876a33e Jenkins: skip-card-test --- M pySim/esim/saip/batch.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
diff --git a/pySim/esim/saip/batch.py b/pySim/esim/saip/batch.py index 1a2b72e..6d3ded1 100644 --- a/pySim/esim/saip/batch.py +++ b/pySim/esim/saip/batch.py @@ -170,7 +170,7 @@ 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: