Skip to content

Commit

Permalink
Http error (#191)
Browse files Browse the repository at this point in the history
* handle http error

* ensure that exception handling works with moqo pagination logic

* remove empty line
  • Loading branch information
ThorstenFroehlinghaus authored Nov 28, 2024
1 parent 7ef173b commit d5332a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x2gbfs/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ def get(
request_headers['User-Agent'] = user_agent
response = requests.get(url, headers=request_headers, timeout=timeout, params=params)
response.raise_for_status()
return response.raw
return response

0 comments on commit d5332a2

Please sign in to comment.