Squash errors on connect (for dev)
This commit is contained in:
parent
1b51b50185
commit
a9f2040f3f
|
@ -23,6 +23,11 @@ class Blootstrap {
|
||||||
ipc.of.blootstrap_ble.on('disconnect', () => {
|
ipc.of.blootstrap_ble.on('disconnect', () => {
|
||||||
ipc.log(`Disconnected from the blootstrap_ble service`)
|
ipc.log(`Disconnected from the blootstrap_ble service`)
|
||||||
})
|
})
|
||||||
|
ipc.of.blootstrap_ble.on('error', (err) => {
|
||||||
|
if (err.code === 'EACCES') {
|
||||||
|
console.log(`Cannot access ipc`)
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue