aboutsummaryrefslogtreecommitdiffstats
path: root/python/insert_fx_id.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/insert_fx_id.py')
-rw-r--r--python/insert_fx_id.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/insert_fx_id.py b/python/insert_fx_id.py
index ef23770c..fd8160e3 100644
--- a/python/insert_fx_id.py
+++ b/python/insert_fx_id.py
@@ -193,7 +193,10 @@ def main(workdate):
"BAMSNY",
"GOLDNY",
):
- process_rows(fund, counterparty, workdate, dawn_trades, conn)
+ try:
+ process_rows(fund, counterparty, workdate, dawn_trades, conn)
+ except FileNotFoundError as e:
+ logger.warning(f"FileNotFound for {fund}: {counterparty} on {workdate}")
if __name__ == "__main__":