use log.debug

feature/default_network_editable
frankiebee 7 years ago
parent 7a9e2aa4f0
commit 5eca4223b2
  1. 6
      mascara/src/background.js

@ -28,7 +28,7 @@ global.addEventListener('activate', function (event) {
event.waitUntil(global.clients.claim()) event.waitUntil(global.clients.claim())
}) })
console.log('inside:open') log.debug('inside:open')
// // state persistence // // state persistence
@ -37,7 +37,7 @@ const dbController = new DbController({
}) })
loadStateFromPersistence() loadStateFromPersistence()
.then((initState) => setupController(initState)) .then((initState) => setupController(initState))
.then(() => console.log('MetaMask initialization complete.')) .then(() => log.debug('MetaMask initialization complete.'))
.catch((err) => console.error('WHILE SETTING UP:', err)) .catch((err) => console.error('WHILE SETTING UP:', err))
// //
@ -95,7 +95,7 @@ function setupController (initState, client) {
// //
connectionListener.on('remote', (portStream, messageEvent) => { connectionListener.on('remote', (portStream, messageEvent) => {
console.log('REMOTE CONECTION FOUND***********') log.debug('REMOTE CONECTION FOUND***********')
connectRemote(portStream, messageEvent.data.context) connectRemote(portStream, messageEvent.data.context)
}) })

Loading…
Cancel
Save