Cleaner SSR data fetching error logs.
This commit is contained in:
parent
1d3657603c
commit
33dccf29bb
@ -81,7 +81,7 @@ export default ComposedComponent =>
|
|||||||
// in components via the data.error prop.
|
// in components via the data.error prop.
|
||||||
// See: https://www.apollographql.com/docs/react/basics/queries.html#graphql-query-data-error
|
// See: https://www.apollographql.com/docs/react/basics/queries.html#graphql-query-data-error
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.error(error)
|
console.error(error.message)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Forget Head items found during the getDataFromTree render to prevent
|
// Forget Head items found during the getDataFromTree render to prevent
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user