From b1af9b805004174598f68f1684e4dcb01d476b40 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 2 Mar 2018 20:27:13 +0100 Subject: [PATCH] Improved readability of HTML parser error message and backtrace. --- app/models/channel/email_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/channel/email_parser.rb b/app/models/channel/email_parser.rb index 648f08df0..6916facbd 100644 --- a/app/models/channel/email_parser.rb +++ b/app/models/channel/email_parser.rb @@ -515,7 +515,7 @@ returns file.write msg end return false if exception == false - raise e.inspect + e.backtrace.inspect + raise e.inspect + "\n" + e.backtrace.join("\n") end def _process(channel, msg)