From 241c192fc34a209ab5d3a11dd37b0c276010f46b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 26 Aug 2015 10:25:03 +0200 Subject: [PATCH] Create error message for correct state --- src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java b/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java index 63711b9..2b6e6d4 100644 --- a/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java +++ b/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java @@ -120,7 +120,7 @@ public class ReactionRunner implements Runnable { try { currentState = filter.filter(currentState); if (currentState.success() && currentState.isEmpty()) { - errorEmailAction.execute(createEmptyStateOutput(reaction, state)); + errorEmailAction.execute(createEmptyStateOutput(reaction, currentState)); } } catch (Throwable t1) { logger.warn(format("Error during filter %s for %s.", filter.getClass().getSimpleName(), reaction.name()), t1); -- 2.7.4