From 66c56e255318754679ff05fc59e12bd60493fd79 Mon Sep 17 00:00:00 2001 From: javex Date: Fri, 27 Oct 2023 18:25:57 +1030 Subject: [PATCH] Always directly raise exception, remove pdb debugger --- hotprices_au/analysis.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hotprices_au/analysis.py b/hotprices_au/analysis.py index 78ac7dc..2a31518 100644 --- a/hotprices_au/analysis.py +++ b/hotprices_au/analysis.py @@ -16,8 +16,7 @@ def get_canoncial_for(store, raw_items, category_map, today): except Exception: logger.exception(f"Unable to process store '{store}' item: {raw_item}") import pprint; pprint.pprint(raw_item) - import pdb; pdb.set_trace() - continue + raise if canonical_item is None: continue canonical_item['store'] = store