mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
use log.debug
This commit is contained in:
parent
7a9e2aa4f0
commit
5eca4223b2
@ -28,7 +28,7 @@ global.addEventListener('activate', function (event) {
|
||||
event.waitUntil(global.clients.claim())
|
||||
})
|
||||
|
||||
console.log('inside:open')
|
||||
log.debug('inside:open')
|
||||
|
||||
|
||||
// // state persistence
|
||||
@ -37,7 +37,7 @@ const dbController = new DbController({
|
||||
})
|
||||
loadStateFromPersistence()
|
||||
.then((initState) => setupController(initState))
|
||||
.then(() => console.log('MetaMask initialization complete.'))
|
||||
.then(() => log.debug('MetaMask initialization complete.'))
|
||||
.catch((err) => console.error('WHILE SETTING UP:', err))
|
||||
|
||||
//
|
||||
@ -95,7 +95,7 @@ function setupController (initState, client) {
|
||||
//
|
||||
|
||||
connectionListener.on('remote', (portStream, messageEvent) => {
|
||||
console.log('REMOTE CONECTION FOUND***********')
|
||||
log.debug('REMOTE CONECTION FOUND***********')
|
||||
connectRemote(portStream, messageEvent.data.context)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user