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:
parent
d7a07a5612
commit
e773600a3e
6 changed files with 34 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue