mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-29 18:18:11 +00:00
Ignore JSON exceptions in getUsageCounts instead of printing them
This commit is contained in:
parent
339a31b0f3
commit
927ea50c33
1 changed files with 2 additions and 4 deletions
|
@ -208,9 +208,7 @@ public class Preferences {
|
|||
JSONObject json = arr.getJSONObject(i);
|
||||
usageCounts.put(UUID.fromString(json.getString("uuid")), json.getInt("count"));
|
||||
}
|
||||
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace();
|
||||
} catch (JSONException ignored) {
|
||||
}
|
||||
|
||||
return usageCounts;
|
||||
|
|
Loading…
Add table
Reference in a new issue