mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06: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());
|
return Arrays.stream(devices).filter(device -> device != null && device.getModel() != null).collect(Collectors.toList());
|
||||||
} catch(IOException e) {
|
} catch(IOException e) {
|
||||||
|
log.error("Error executing " + VERSION_PREFIX, e);
|
||||||
throw new ImportException(e);
|
throw new ImportException(e);
|
||||||
} finally {
|
} finally {
|
||||||
isPromptActive = false;
|
isPromptActive = false;
|
||||||
|
|
Loading…
Reference in a new issue