relay-tools / react-relay-network-modern

Relay Modern Network Layer with middlewares — cache, auth, retry, batch, logger, SSR
MIT License
327 stars 61 forks source link

Remove error logging from CacheMiddleware #142

Open losnappas opened 3 years ago

losnappas commented 3 years ago

This line: https://github.com/relay-tools/react-relay-network-modern/blob/master/src/middlewares/cache.js#L84

Is destroying my logs. Can we remove it or is there a way of making the error e into something nice? I would prefer it was removed, though. Maybe an onError callback could be added, instead.