diff options
Diffstat (limited to 'python/parse_emails.py')
| -rw-r--r-- | python/parse_emails.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/parse_emails.py b/python/parse_emails.py index beae201d..d2cbca6b 100644 --- a/python/parse_emails.py +++ b/python/parse_emails.py @@ -429,7 +429,7 @@ def pickle_drop_date(date): if __name__ == "__main__": try: save_emails() - except errors.HttpError as e: + except (errors.HttpError, FileNotFoundError) as e: logging.error(e) save_emails(update=False) data_dir = os.path.join(os.getenv("DATA_DIR"), "swaptions") |
