From: David ‘Bombe’ Roden Date: Tue, 25 Aug 2015 19:48:27 +0000 (+0200) Subject: Add error output twice, for now X-Git-Tag: v2~176 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7a62280f42b7430279b8fd1b5818ddf0e7530b2a;p=rhynodge.git Add error output twice, for now Later, fix with real HTML output or skip multipart for text-only mails. --- diff --git a/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java b/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java index dabc57f..ac04543 100644 --- a/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java +++ b/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java @@ -78,6 +78,7 @@ public class ReactionRunner implements Runnable { private Output createErrorOutput(Reaction reaction, State state) { DefaultOutput output = new DefaultOutput(String.format("Error while processing “%s!”", reaction.name())); output.addText("text/plain; charset=utf-8", createErrorEmailText(reaction, state)); + output.addText("text/html; charset=utf-8", createErrorEmailText(reaction, state)); return output; }