From 444049323a913c380849e3246dc3c2916036ead6 Mon Sep 17 00:00:00 2001 From: Caleb Johnson Date: Tue, 24 Sep 2024 16:06:47 -0500 Subject: [PATCH] Chain exceptions --- qiskit_addon_dice_solver/dice_solver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit_addon_dice_solver/dice_solver.py b/qiskit_addon_dice_solver/dice_solver.py index 1a51e80..c009133 100644 --- a/qiskit_addon_dice_solver/dice_solver.py +++ b/qiskit_addon_dice_solver/dice_solver.py @@ -200,7 +200,7 @@ def _call_dice(working_dir: Path, mpirun_options: Sequence[str] | str | None) -> command=dice_call, returncode=e.returncode, log_path=dice_log_path, - ) + ) from e def _write_input_files(