From a20d365bdac8ebd1b3b1aea10fa31688641d90ac Mon Sep 17 00:00:00 2001 From: Luck Date: Wed, 19 May 2021 13:03:54 +0100 Subject: Update gradle wrapper --- .../src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spark-common/src') diff --git a/spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java b/spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java index 2693962..e14d864 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java +++ b/spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java @@ -96,7 +96,7 @@ public class ActivityLog { JsonArray array; try (BufferedReader reader = Files.newBufferedReader(this.file, StandardCharsets.UTF_8)) { array = PARSER.parse(reader).getAsJsonArray(); - } catch (IOException e) { + } catch (IOException | IllegalStateException e) { e.printStackTrace(); return; } -- cgit