mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Warn about non-functional errorHandler hook
See: https://github.com/nuxt-community/apollo-module/pull/218#issuecomment-506939244
This commit is contained in:
parent
15559dedfc
commit
3d224512b1
@ -1,5 +1,10 @@
|
||||
export default (error, context) => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
|
||||
// TODO: I added this code without ever reaching it!
|
||||
// See: https://github.com/nuxt-community/apollo-module/pull/218#issuecomment-506939244
|
||||
// Maybe this `errorHandler` callback is never being called?
|
||||
|
||||
console.log(
|
||||
'%cError',
|
||||
'background: red; color: white; padding: 2px 4px; border-radius: 3px; font-weight: bold;',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user