This PR prevents EmailNotVerifiedError from being reported to Sentry, as discussed in issue #11753. edit: close #11753
This commit is contained in:
@ -12,6 +12,7 @@ export const graphQLErrorCodesToFilterOut = [
|
|||||||
ErrorCode.TIMEOUT,
|
ErrorCode.TIMEOUT,
|
||||||
ErrorCode.CONFLICT,
|
ErrorCode.CONFLICT,
|
||||||
ErrorCode.BAD_USER_INPUT,
|
ErrorCode.BAD_USER_INPUT,
|
||||||
|
ErrorCode.EMAIL_NOT_VERIFIED,
|
||||||
];
|
];
|
||||||
|
|
||||||
export const shouldCaptureException = (exception: Error): boolean => {
|
export const shouldCaptureException = (exception: Error): boolean => {
|
||||||
|
|||||||
Reference in New Issue
Block a user