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 418d280 commit 239b2ddCopy full SHA for 239b2dd
src/oc-client.js
@@ -35,7 +35,6 @@ export function createOc(oc) {
35
let logError = (msg) => console.log(msg);
36
let logInfo = (msg) => ocConf.debug && console.log(msg);
37
let handleFetchResponse = (response) => {
38
- if (!response.ok) throw response;
39
if (response.headers.get("Content-Type") !== "x-text/stream")
40
return response.json();
41
0 commit comments