diff options
Diffstat (limited to 'spark-common/src')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |