We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df8bf11 commit 759432dCopy full SHA for 759432d
src/main/java/org/cryptomator/linux/keychain/SecretServiceKeychainAccess.java
@@ -29,8 +29,11 @@ public String displayName() {
29
public boolean isSupported() {
30
try {
31
return SimpleCollection.isAvailable();
32
- } catch (RuntimeException | ExceptionInInitializerError e) {
33
- LOG.warn("Initializing secret service keychain access failed", e instanceof ExceptionInInitializerError errInit ? errInit.getException() : e);
+ } catch (RuntimeException e) {
+ LOG.warn("Initializing secret service keychain access failed", e);
34
+ return false;
35
+ } catch (ExceptionInInitializerError err) {
36
+ LOG.warn("Initializing secret service keychain access failed", err.getException());
37
return false;
38
}
39
0 commit comments