aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/upload_bbh_trades.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/upload_bbh_trades.py b/python/upload_bbh_trades.py
index bed4bc49..5b5fd619 100644
--- a/python/upload_bbh_trades.py
+++ b/python/upload_bbh_trades.py
@@ -20,8 +20,7 @@ if __name__ == "__main__":
for row in c:
obj = row._asdict()
if obj["current_face"] == 0:
- print("Missing")
- continue
+ raise Exception(f"Current face missing {obj['dealid']}")
rename_keys(
obj,
{