Skip to content
Snippets Groups Projects
Commit 3e2a76ed authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Raise error if SSkyMetric fails

parent e725132a
No related branches found
No related tags found
No related merge requests found
......@@ -214,8 +214,8 @@ def get_Nstar_estimate(
fiducial_freq, detectors, detector_weights, detector_motion,
ephemeris)
except RuntimeError as e:
logging.debug('Encountered run-time error {}'.format(e))
return None, None, None
logging.warning('Encountered run-time error {}'.format(e))
raise RuntimeError("Calculation of the SSkyMetric failed")
if sky:
i = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment