Skip to content

Commit 05cd755

Browse files
committed
Release 0.4.1
- Fix not propagating HTTPError
1 parent 83cad13 commit 05cd755

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ballchasing/api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ def _iterable_from_request(self, url, params):
155155
# Gateway Timeout, retry
156156
time.sleep(5)
157157
continue
158+
else:
159+
raise e
158160

159161
batch = d["list"][:request_count]
160162
yield from batch

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "python-ballchasing"
7-
version = "0.4.0"
7+
version = "0.4.1"
88
authors = [
99
{ name = "Rolv-Arild Braaten", email = "[email protected]" },
1010
]

0 commit comments

Comments
 (0)