Skip to content

Commit 239b2dd

Browse files
fix handling errors
1 parent 418d280 commit 239b2dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/oc-client.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export function createOc(oc) {
3535
let logError = (msg) => console.log(msg);
3636
let logInfo = (msg) => ocConf.debug && console.log(msg);
3737
let handleFetchResponse = (response) => {
38-
if (!response.ok) throw response;
3938
if (response.headers.get("Content-Type") !== "x-text/stream")
4039
return response.json();
4140

0 commit comments

Comments
 (0)