You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing formatError to serverOptions, seems like graphql is stripping out error code, type and data which I can confirm is present in the catch block of createActionResolver in service.js. Does anyone know why this might be the case?
Here is the code I'm using in serverOptions to inspect error:
formatError(err) {
console.warn({
originalError: err.originalError, // <--- does not include code, type or data
});
return err;
},
The text was updated successfully, but these errors were encountered:
When passing formatError to serverOptions, seems like graphql is stripping out error code, type and data which I can confirm is present in the catch block of createActionResolver in service.js. Does anyone know why this might be the case?
Here is the code I'm using in serverOptions to inspect error:
The text was updated successfully, but these errors were encountered: