Skip to content

Commit a502d5e

Browse files
committed
debug
1 parent 6d73dd2 commit a502d5e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

micropip/_compat/_compat_in_pyodide.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ async def fetch_string_and_headers(
7676
response.raise_for_status()
7777
except HttpStatusError as e:
7878
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
7983

8084
content = await response.string()
8185
headers: dict[str, str] = response.headers

0 commit comments

Comments
 (0)