···6666 // if in watch mode, subsequent errors won't throw to gracefully handle
6767 // cases where server might be reloading
6868 if (error && !_watches) {
6969- throw new Error(`Request failed with status ${response.status}: ${response.statusText}`);
6969+ const text = await response.text().catch(() => '');
7070+ throw new Error(
7171+ `Request failed with status ${response.status}: ${text || response.statusText}`,
7272+ );
7073 }
71747275 return { arrayBuffer, resolvedInput };