aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2021-05-19 13:03:54 +0100
committerLuck <git@lucko.me>2021-05-19 13:04:08 +0100
commita20d365bdac8ebd1b3b1aea10fa31688641d90ac (patch)
tree8ec5fe16137d7d1e83e04820862af31d9ed3d886 /spark-common/src
parent65e3134779495b77743f0224dd7b8991f9cb094d (diff)
downloadspark-a20d365bdac8ebd1b3b1aea10fa31688641d90ac.tar.gz
spark-a20d365bdac8ebd1b3b1aea10fa31688641d90ac.tar.bz2
spark-a20d365bdac8ebd1b3b1aea10fa31688641d90ac.zip
Update gradle wrapper
Diffstat (limited to 'spark-common/src')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java2
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;
}