diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/mark_swaptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/mark_swaptions.py b/python/mark_swaptions.py index 4e6780cc..09b06041 100644 --- a/python/mark_swaptions.py +++ b/python/mark_swaptions.py @@ -35,10 +35,10 @@ def get_swaptionvol(index, series, strike, expiry, date, engine): return r.fetchone() except exc.DataError as e: logging.error(e) - return None except TypeError: logging.error("No data for {}{} {}K on date {}".format(index, series, strike, date)) - return None + except: + logging.error(e) def mark_trades(date, engine): df = get_trades(date, engine) |
