mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-09 00:04:55 +00:00
reduce log level for no card reader errors
This commit is contained in:
@@ -99,6 +99,8 @@ public abstract class CardApi {
|
||||
Throwable cause = Throwables.getRootCause(e);
|
||||
if(cause.getMessage().equals("SCARD_E_NO_SERVICE")) {
|
||||
recoverNoService();
|
||||
} else if(cause.getMessage().equals("SCARD_E_NO_READERS_AVAILABLE")) {
|
||||
log.info("Error detecting card terminals", e);
|
||||
} else {
|
||||
log.error("Error detecting card terminals", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user