add error logging when enumerate fails

This commit is contained in:
Craig Raw 2021-03-12 17:19:54 +02:00
parent a6d2a6563b
commit 307c7d53f8

View file

@ -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;