Remove log
This commit is contained in:
parent
b95f481720
commit
41514260be
|
@ -41,8 +41,6 @@ export const createAPIClient = config => {
|
||||||
|
|
||||||
// Generates an error object from an API response
|
// Generates an error object from an API response
|
||||||
const makeErrorFromResponse = async (response, method) => {
|
const makeErrorFromResponse = async (response, method) => {
|
||||||
console.log("making error from", response)
|
|
||||||
|
|
||||||
// Try to read a message from the error
|
// Try to read a message from the error
|
||||||
let message = response.statusText
|
let message = response.statusText
|
||||||
let json = null
|
let json = null
|
||||||
|
|
Loading…
Reference in New Issue