Fix the wrong notification filtering confition

Summary:
Fixes the bug which didn't fire the crash notification.

Bug:

{F162618487}

Reviewed By: passy

Differential Revision: D15905154

fbshipit-source-id: 8b34cc567789fbf7f255663a14017cbe300ac387
This commit is contained in:
Pritesh Nandgaonkar
2019-06-20 06:12:42 -07:00
committed by Facebook Github Bot
parent 5200f4f528
commit 0f9845a647

View File

@@ -537,7 +537,7 @@ export default class CrashReporterPlugin extends FlipperDevicePlugin<
if (ignore) {
console.error('Ignored the notification for the crash', crash);
}
return ignore;
return !ignore;
});
return filteredCrashes.map((crash: Crash) => {
const id = crash.notificationID;