Skip to content

Commit

Permalink
Remove BugReporting extraData log
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gaearon authored and facebook-github-bot committed Sep 6, 2019
1 parent 5048f02 commit 16eccf3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Libraries/BugReporting/BugReporting.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 16eccf3

Please sign in to comment.