Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
code refactor
  • Loading branch information
g2vinay committed Aug 8, 2025
commit 5854caf14ddb67f168bf49d1963c2558eb8dcdc9
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,13 @@ public static boolean isKeyRingAccessible() {
LOGGER.verbose("GNOME Keyring is unavailable or inaccessible.");
return false;
}
} catch (IOException | InterruptedException e) {
} catch (InterruptedException e) {
Thread.currentThread().interrupt(); // Restore interrupted state if InterruptedException occurs
LOGGER.verbose("Error while checking GNOME Keyring availability: " + e.getMessage());
return false;
} catch (IOException e) {
LOGGER.verbose("Error while checking GNOME Keyring availability: " + e.getMessage());
return false;
}
}
}
Loading