From 307c7d53f87169e82cf0f4daddd332491dc701bc Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 12 Mar 2021 17:19:54 +0200 Subject: [PATCH] add error logging when enumerate fails --- src/main/java/com/sparrowwallet/sparrow/io/Hwi.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java index 8185bae9..0b7402fb 100644 --- a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java +++ b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java @@ -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;