mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
logging - silence rpc response logging
This commit is contained in:
parent
c2eb3f6524
commit
cd4d76101c
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user