Stop printing false positive debug message
Summary: Per title. Deserves a more coherent solution. Reviewed By: passy Differential Revision: D29296206 fbshipit-source-id: b8547ebc1f99c24282f79f4b98a8a5fa1d1947cd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b9250e7795
commit
603cd08767
@@ -466,7 +466,12 @@ export default class Client extends EventEmitter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!handled && !isProduction()) {
|
// TODO: Flipper debug as full client is overkill, clean up
|
||||||
|
if (
|
||||||
|
!handled &&
|
||||||
|
!isProduction() &&
|
||||||
|
params.api !== 'flipper-messages'
|
||||||
|
) {
|
||||||
console.warn(`Unhandled message ${params.api}.${params.method}`);
|
console.warn(`Unhandled message ${params.api}.${params.method}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user