mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
fix(drive-scanner): Warn on usbboot load error on Linux
Change-Type: patch
This commit is contained in:
parent
936142cf7e
commit
69c35f7f79
@ -61,6 +61,8 @@ permissions.isElevated().then((elevated) => {
|
|||||||
scanner.subscribe(adapter)
|
scanner.subscribe(adapter)
|
||||||
scanner.start()
|
scanner.start()
|
||||||
}
|
}
|
||||||
}).catch(_.noop)
|
}).catch((error) => {
|
||||||
|
console.warn('Could not add usbboot adapter:', error)
|
||||||
|
})
|
||||||
|
|
||||||
module.exports = scanner
|
module.exports = scanner
|
||||||
|
Loading…
x
Reference in New Issue
Block a user