We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb2b265 commit 489df72Copy full SHA for 489df72
packages/react-native/Libraries/Network/XMLHttpRequest.js
@@ -248,7 +248,10 @@ class XMLHttpRequest extends (EventTarget(...XHR_EVENTS): any) {
248
} else if (this._response === '') {
249
this._cachedResponse = BlobManager.createFromParts([]);
250
} else {
251
- throw new Error(`Invalid response for blob: ${this._response}`);
+ throw new Error(
252
+ 'Invalid response for blob - expecting object, was ' +
253
+ `${typeof this._response}: ${this._response}`,
254
+ );
255
}
256
break;
257
0 commit comments