Asynchronous Exception Handling in Python
Asynchronous Exception Handling in Python: a task in Terminal-Lego-15k (Harbor dataset). You are given a Python script that uses asyncio and aiohttp to make asynchronous HTTP requests. The script has a bug: exceptions raised inside the asynchronous get function are not being caught by the outer…
The task
You are given a Python script that uses `asyncio` and `aiohttp` to make asynchronous HTTP requests. The script has a bug: exceptions raised inside the asynchronous `get` function are not being caught by the outer `try/except` block.
Part of PrimeIntellect/Terminal-Lego-15k.