1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

logging - silence rpc response logging

This commit is contained in:
kumavis 2016-01-30 23:16:47 -08:00
parent c2eb3f6524
commit cd4d76101c

View File

@ -47,9 +47,9 @@ StreamProvider.prototype._onResponse = function(response){
// logging
var res = Array.isArray(response) ? response : [response]
;(Array.isArray(payload) ? payload : [payload]).forEach(function(payload, index){
console.log('plugin response:', payload.id, payload.method, payload.params, '->', res[index].result)
})
// ;(Array.isArray(payload) ? payload : [payload]).forEach(function(payload, index){
// console.log('plugin response:', payload.id, payload.method, payload.params, '->', res[index].result)
// })
callback(null, response)
}