diff --git a/lib/blootstrap/index.js b/lib/blootstrap/index.js index 33e7fb0..749c88a 100644 --- a/lib/blootstrap/index.js +++ b/lib/blootstrap/index.js @@ -23,6 +23,11 @@ class Blootstrap { ipc.of.blootstrap_ble.on('disconnect', () => { ipc.log(`Disconnected from the blootstrap_ble service`) }) + ipc.of.blootstrap_ble.on('error', (err) => { + if (err.code === 'EACCES') { + console.log(`Cannot access ipc`) + } + }) }) } /**