aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/report_ops/wires.py2
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