Bug 1236651 - don't log complete FxA webchannel messages by default. r=nalexander

This commit is contained in:
Mark Hammond 2016-01-05 11:10:41 +11:00
parent e0bb3b8086
commit 543fdd1607

View File

@ -138,7 +138,10 @@ this.FxAccountsWebChannel.prototype = {
*/
let listener = (webChannelId, message, sendingContext) => {
if (message) {
log.debug("FxAccountsWebChannel message received", message);
log.debug("FxAccountsWebChannel message received", message.command);
if (logPII) {
log.debug("FxAccountsWebChannel message details", message);
}
let command = message.command;
let data = message.data;