From ad39c9aacfbc59897d19333c3d1ae7bc17979b02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 6 Jan 2013 17:37:56 +0100 Subject: [PATCH] Store fail count, too. --- src/main/java/net/pterodactylus/reactor/states/AbstractState.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/reactor/states/AbstractState.java b/src/main/java/net/pterodactylus/reactor/states/AbstractState.java index 31a1d18..6d7a6ea 100644 --- a/src/main/java/net/pterodactylus/reactor/states/AbstractState.java +++ b/src/main/java/net/pterodactylus/reactor/states/AbstractState.java @@ -42,6 +42,7 @@ public abstract class AbstractState implements State { private final Throwable exception; /** The number of consecutive failures. */ + @JsonProperty private int failCount; /** -- 2.7.4