mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-01-30 14:39:56 +08:00
fix crash (#2115)
This commit is contained in:
parent
62f39a3280
commit
8b98932ae8
@ -182,7 +182,7 @@ public final class Accounts {
|
||||
globalAccountStorages.setAll((List<Map<Object, Object>>)
|
||||
Config.CONFIG_GSON.fromJson(reader, new TypeToken<List<Map<Object, Object>>>() {
|
||||
}.getType()));
|
||||
} catch (IOException e) {
|
||||
} catch (Throwable e) {
|
||||
LOG.log(Level.WARNING, "Failed to load global accounts", e);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user