fix #2105: catch NPE in Accounts (#2106)

This commit is contained in:
Glavo
2023-02-11 22:53:58 +08:00
committed by GitHub
parent 54eab87356
commit 40eeee7137

View File

@@ -325,7 +325,7 @@ public final class Accounts {
Schedulers.io().execute(() -> {
try {
finalSelected.logIn();
} catch (AuthenticationException e) {
} catch (Throwable e) {
LOG.log(Level.WARNING, "Failed to log " + finalSelected + " in", e);
}
});