We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2429a33 commit d4f1e4bCopy full SHA for d4f1e4b
ipinfo/handler.py
@@ -376,7 +376,7 @@ def getBatchDetailsIter(
376
try:
377
response = requests.post(url, json=batch, headers=headers)
378
except Exception as e:
379
- return handler_utils.return_or_fail(raise_on_fail, e)
+ raise e
380
381
382
if response.status_code == 429:
ipinfo/handler_async.py
@@ -395,7 +395,7 @@ async def process_batch(batch):
395
self.cache[cache_key(ip_address)] = details
396
results[ip_address] = details
397
398
- return handler_utils.return_or_fail(raise_on_fail, e, results)
399
400
for i in range(0, len(lookup_addresses), batch_size):
401
batch = lookup_addresses[i : i + batch_size]
0 commit comments