Remove BugReporting extraData log

Summary: We still include this info in real reports. We also still print the root tag when the app starts. This just removes the redbox "extra data" logging to console. It's noisy, especially on smaller apps in open source that only have one root tag and always empty props.

Reviewed By: cpojer

Differential Revision: D17226903

fbshipit-source-id: a702daaf3a02600fbe9038c46d294c3392953239
This commit is contained in:
Dan Abramov
2019-09-06 08:29:44 -07:00
committed by Facebook Github Bot
parent 5048f02518
commit 16eccf304e
-1
View File
@@ -122,7 +122,6 @@ class BugReporting {
for (const [key, callback] of BugReporting._fileSources) {
fileData[key] = callback();
}
infoLog('BugReporting extraData:', extraData);
if (NativeBugReporting != null && NativeBugReporting.setExtraData != null) {
NativeBugReporting.setExtraData(extraData, fileData);