mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
add error logging when enumerate fails
This commit is contained in:
parent
a6d2a6563b
commit
307c7d53f8
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ public class Hwi {
|
|||
}
|
||||
return Arrays.stream(devices).filter(device -> device != null && device.getModel() != null).collect(Collectors.toList());
|
||||
} catch(IOException e) {
|
||||
log.error("Error executing " + VERSION_PREFIX, e);
|
||||
throw new ImportException(e);
|
||||
} finally {
|
||||
isPromptActive = false;
|
||||
|
|
Loading…
Reference in a new issue