Skip to content

Commit 8d924bf

Browse files
committed
Make exception metadata a property.
1 parent 2a08d34 commit 8d924bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/lsst/meas/algorithms/subtractBackground.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ class TooManyMaskedPixelsError(pipeBase.AlgorithmError):
8989
"""Raised when all pixels in the image are masked and no background
9090
can be estimated.
9191
"""
92+
93+
@property
9294
def metadata(self) -> dict:
9395
"""There is no metadata associated with this error.
9496
"""

0 commit comments

Comments
 (0)