From: David ‘Bombe’ Roden Date: Wed, 26 Aug 2015 08:25:03 +0000 (+0200) Subject: Create error message for correct state X-Git-Tag: v2~171 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=241c192fc34a209ab5d3a11dd37b0c276010f46b;p=rhynodge.git Create error message for correct state --- 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);