1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-10-13 22:41:57 +00:00

More event filtering for Sentry error reporting.

This commit is contained in:
SirStendec 2018-04-11 17:49:31 -04:00
parent d7a07a5612
commit e773600a3e
6 changed files with 34 additions and 4 deletions

View file

@ -117,7 +117,7 @@ export default class Apollo extends Module {
next: result => {
if ( result.errors ) {
const name = operation.operationName;
if ( name.includes('FFZ') || has(this.modifiers, name) || has(this.post_modifiers, name) ) {
if ( name && (name.includes('FFZ') || has(this.modifiers, name) || has(this.post_modifiers, name)) ) {
for(const err of result.errors) {
if ( skip_error(err) )
continue;