Print error message instead of stacktrace

Fixes #1345
This commit is contained in:
Ralph Plawetzki
2020-09-14 19:53:21 +02:00
parent 29a9c7dffe
commit ae957c2588

View File

@@ -22,7 +22,7 @@ public class LinuxKDEWalletKeychainAccessImpl implements KeychainAccessStrategy
try {
connection = DBusConnection.getConnection(DBusConnection.DBusBusType.SESSION);
} catch (DBusException e) {
e.printStackTrace();
log.error(e.toString(), e.getCause());
}
}
@@ -32,7 +32,7 @@ public class LinuxKDEWalletKeychainAccessImpl implements KeychainAccessStrategy
wallet = new KDEWallet(connection);
return wallet.isEnabled();
} catch (Exception e) {
e.printStackTrace();
log.error(e.toString(), e.getCause());
return false;
}
}