From 67e695cedd5cdaebe8e26eb35747479b4b5037bc Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sun, 25 Jan 2026 19:49:58 +0100 Subject: [PATCH] UppAudit: better indicate exception cause Change-Id: I4d986b89a473a5b12ed56b4710263b034876a33e --- pySim/esim/saip/batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySim/esim/saip/batch.py b/pySim/esim/saip/batch.py index e1001feb..c7e386f6 100644 --- a/pySim/esim/saip/batch.py +++ b/pySim/esim/saip/batch.py @@ -167,7 +167,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: