diff --git a/python/lsst/pipe/tasks/selectImages.py b/python/lsst/pipe/tasks/selectImages.py index a3152a1ea0..ff2c65e33e 100644 --- a/python/lsst/pipe/tasks/selectImages.py +++ b/python/lsst/pipe/tasks/selectImages.py @@ -527,6 +527,7 @@ def run(self, visitSummaries, skyMap, dataId): if len(output) == 0: self.log.info("All images rejected in BestSeeingSelectVisitsTask.") + raise pipeBase.NoWorkFound(f'No good images found.') else: self.log.info( "%d images selected with FWHM range of %f--%f arcseconds",