FIX : replaced full_url with endpoint (not using urlib)
This commit is contained in:
parent
0280fca189
commit
c919a6a605
@ -53,7 +53,7 @@ def _get_response(endpoint, params=None, headers=None):
|
||||
try:
|
||||
response = requests.get(endpoint, params=params, headers=headers) # nosec
|
||||
except Exception as e:
|
||||
exc = WaybackError("Error while retrieving %s" % req.full_url)
|
||||
exc = WaybackError("Error while retrieving %s" % endpoint)
|
||||
exc.__cause__ = e
|
||||
raise exc
|
||||
return response
|
||||
|
Loading…
Reference in New Issue
Block a user