Skip to content

Commit 13905a5

Browse files
committed
fix regression
1 parent 6aea35f commit 13905a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SEImplementation/src/lib/Plugin/Psf/PsfPluginConfig.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ static std::shared_ptr<VariablePsf> readPsfEx(std::unique_ptr<CCfits::FITS> &pFi
124124
}
125125

126126
return std::make_shared<VariablePsf>(pixel_sampling, components, group_degrees, coefficients);
127+
} catch (CCfits::FITS::NoSuchHDU&) { // Make sure we propagate this specific exception
128+
throw;
127129
} catch (CCfits::FitsException &e) {
128130
throw Elements::Exception() << "Error loading PSFEx file: " << e.message();
129131
} catch (...) {

0 commit comments

Comments
 (0)