mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
reduce log level for no card reader errors
This commit is contained in:
parent
10e751d6e1
commit
4ab33a373c
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ public abstract class CardApi {
|
||||||
Throwable cause = Throwables.getRootCause(e);
|
Throwable cause = Throwables.getRootCause(e);
|
||||||
if(cause.getMessage().equals("SCARD_E_NO_SERVICE")) {
|
if(cause.getMessage().equals("SCARD_E_NO_SERVICE")) {
|
||||||
recoverNoService();
|
recoverNoService();
|
||||||
|
} else if(cause.getMessage().equals("SCARD_E_NO_READERS_AVAILABLE")) {
|
||||||
|
log.info("Error detecting card terminals", e);
|
||||||
} else {
|
} else {
|
||||||
log.error("Error detecting card terminals", e);
|
log.error("Error detecting card terminals", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue