fix(runtime): handle empty dev runner responses

This commit is contained in:
dotta 2026-04-06 21:56:13 -05:00
parent 9a150eee65
commit 1de1393413

View file

@ -74,7 +74,7 @@ export async function parseJsonResponseWithLimit<T>(
}
if (!response.body) {
return JSON.parse("") as T;
throw new Error("Response has no body");
}
const reader = response.body.getReader();