diff options
| -rw-r--r-- | python/report_ops/wires.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/report_ops/wires.py b/python/report_ops/wires.py index 9f1965fd..32570313 100644 --- a/python/report_ops/wires.py +++ b/python/report_ops/wires.py @@ -46,6 +46,8 @@ class Wire(Deal, table_name="custodian_wires", deal_type="custodian_wires"): key=cls.dtkey_fun(), default=None, ) + if not p: + raise ValueError(f"No reports for {cls.fund} on {date}") return p @classmethod |
