aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/sim_pipeline.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/sim_pipeline.py')
-rw-r--r--fatcat_scholar/sim_pipeline.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/fatcat_scholar/sim_pipeline.py b/fatcat_scholar/sim_pipeline.py
index 0277619..621f1fc 100644
--- a/fatcat_scholar/sim_pipeline.py
+++ b/fatcat_scholar/sim_pipeline.py
@@ -155,10 +155,11 @@ class SimPipeline:
full_issue = self.fetch_sim_issue(
row["issue_item"], row["pub_collection"]
)
- except requests.exceptions.ConnectionError as e:
- print(str(e), file=sys.stderr)
- continue
- except requests.exceptions.ReadTimeout as e:
+ except (
+ requests.exceptions.ConnectionError,
+ requests.exceptions.Timeout,
+ requests.exceptions.RetryError,
+ ) as e:
print(str(e), file=sys.stderr)
continue
if not full_issue: