From 148d99b53d53e03b2e7d119ff4eaf056dcf16630 Mon Sep 17 00:00:00 2001 From: John Parejko Date: Thu, 8 Feb 2024 23:23:21 -0800 Subject: [PATCH] fixup exceptions --- python/lsst/pipe/tasks/calibrateImage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/lsst/pipe/tasks/calibrateImage.py b/python/lsst/pipe/tasks/calibrateImage.py index bb040076b..5fd8136a6 100644 --- a/python/lsst/pipe/tasks/calibrateImage.py +++ b/python/lsst/pipe/tasks/calibrateImage.py @@ -434,8 +434,9 @@ def runQuantum(self, butlerQC, inputRefs, outputRefs): catalogs=[result.psf_stars, result.stars], task=self ) - butlerQC.put(result, outputRefs) raise error from e + finally: + butlerQC.put(result, outputRefs) @timeMethod def run(self, *, exposures, result=None):