There was an error while loading. Please reload this page.
1 parent 6d73dd2 commit a502d5eCopy full SHA for a502d5e
1 file changed
micropip/_compat/_compat_in_pyodide.py
@@ -76,6 +76,10 @@ async def fetch_string_and_headers(
76
response.raise_for_status()
77
except HttpStatusError as e:
78
raise CompatibilityInPyodide.HttpStatusError(e.status, str(e)) from e
79
+ except OSError as e:
80
+ raise OSError(
81
+ f"Older version of pyodide ? {pyodide.__version__}. Cors missing ?"
82
+ ) from e
83
84
content = await response.string()
85
headers: dict[str, str] = response.headers
0 commit comments