mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +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.start()
|
||||
}
|
||||
}).catch(_.noop)
|
||||
}).catch((error) => {
|
||||
console.warn('Could not add usbboot adapter:', error)
|
||||
})
|
||||
|
||||
module.exports = scanner
|
||||
|
Loading…
x
Reference in New Issue
Block a user