Skip to content

Commit 8b98932

Browse files
authored
fix crash (#2115)
1 parent 62f39a3 commit 8b98932

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HMCL/src/main/java/org/jackhuang/hmcl/setting/Accounts.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ private static void loadGlobalAccountStorages() {
182182
globalAccountStorages.setAll((List<Map<Object, Object>>)
183183
Config.CONFIG_GSON.fromJson(reader, new TypeToken<List<Map<Object, Object>>>() {
184184
}.getType()));
185-
} catch (IOException e) {
185+
} catch (Throwable e) {
186186
LOG.log(Level.WARNING, "Failed to load global accounts", e);
187187
}
188188
}

0 commit comments

Comments
 (0)