aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops/cash.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/report_ops/cash.py')
-rw-r--r--python/report_ops/cash.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/report_ops/cash.py b/python/report_ops/cash.py
index 48a7b024..10d2414c 100644
--- a/python/report_ops/cash.py
+++ b/python/report_ops/cash.py
@@ -145,4 +145,6 @@ class ScotiaCashReport(CashReport, custodian="SCOTIA"):
)
)
except StopIteration as e:
- return
+ raise MissingDataError(
+ f"Report not ready {self.knowledge_date}: {self.custodian} {self.fund}"
+ )