logging - silence rpc response logging

feature/default_network_editable
kumavis 9 years ago
parent c2eb3f6524
commit cd4d76101c
  1. 6
      app/scripts/lib/stream-provider.js

@ -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…
Cancel
Save