Store fail count, too.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 6 Jan 2013 16:37:56 +0000 (17:37 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 6 Jan 2013 16:37:56 +0000 (17:37 +0100)
src/main/java/net/pterodactylus/reactor/states/AbstractState.java

index 31a1d18..6d7a6ea 100644 (file)
@@ -42,6 +42,7 @@ public abstract class AbstractState implements State {
        private final Throwable exception;
 
        /** The number of consecutive failures. */
+       @JsonProperty
        private int failCount;
 
        /**