From 0c5e5d96d222c63bec5957f8224b2cf8eade5d2d Mon Sep 17 00:00:00 2001 From: Noitidart Date: Thu, 30 May 2019 14:36:57 -0700 Subject: [PATCH] Fix "already read" when trying to read errors --- src/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index f521ec2..a36c774 100644 --- a/src/index.ts +++ b/src/index.ts @@ -189,11 +189,6 @@ const reduxOfflineApolloLink = ( linkFetch(uri, options) .then(response => { - if (!response.ok) { - console.warn("Response OK!"); - response.json().then(data => console.log(data)); - } - // Forward the response on the context. operation.setContext({ response }); return response;