Add error output twice, for now
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 25 Aug 2015 19:48:27 +0000 (21:48 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 25 Aug 2015 19:48:27 +0000 (21:48 +0200)
Later, fix with real HTML output or skip multipart for text-only mails.

src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java

index dabc57f..ac04543 100644 (file)
@@ -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;
        }