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:
committed by
Facebook Github Bot
parent
5200f4f528
commit
0f9845a647
@@ -537,7 +537,7 @@ export default class CrashReporterPlugin extends FlipperDevicePlugin<
|
|||||||
if (ignore) {
|
if (ignore) {
|
||||||
console.error('Ignored the notification for the crash', crash);
|
console.error('Ignored the notification for the crash', crash);
|
||||||
}
|
}
|
||||||
return ignore;
|
return !ignore;
|
||||||
});
|
});
|
||||||
return filteredCrashes.map((crash: Crash) => {
|
return filteredCrashes.map((crash: Crash) => {
|
||||||
const id = crash.notificationID;
|
const id = crash.notificationID;
|
||||||
|
|||||||
Reference in New Issue
Block a user