Skip to content

Commit

Permalink
fixup exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Feb 9, 2024
1 parent a17eaf8 commit 148d99b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/pipe/tasks/calibrateImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 148d99b

Please sign in to comment.