--- a/buggy.py
+++ b/buggy.py
@@ -9,7 +9,7 @@

 async def fetch_all(urls: list[str]) -> list[str]:
     tasks = [fetch(url) for url in urls]
-    results = await asyncio.gather(*tasks)
+    results = await asyncio.gather(*tasks, return_exceptions=True)
     return list(results)


