diff options
Diffstat (limited to 'python/report_ops/custodians.py')
| -rw-r--r-- | python/report_ops/custodians.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/report_ops/custodians.py b/python/report_ops/custodians.py index 2409dbfe..93aba172 100644 --- a/python/report_ops/custodians.py +++ b/python/report_ops/custodians.py @@ -15,6 +15,7 @@ from serenitas.utils.env import DAILY_DIR from serenitas.utils.remote import Client from serenitas.ops.trade_dataclasses import BondDeal from serenitas.ops.funds import Service +from serenitas.analytics.exceptions import MissingDataError from .misc import get_dir, _recipients, _cc_recipients from .scotia import download_scotia_report @@ -185,7 +186,10 @@ def download_bny_reports(date, fund, em): def download_scotia_reports(date, fund, **kwargs): - download_scotia_report(date) + try: + download_scotia_report(date) + except MissingDataError as e: + pass def download_gstx_reports(date, fund, **kwargs): |
