From d265730f31fb6be648154c031085a0f8f3de8772 Mon Sep 17 00:00:00 2001 From: Tim Stewart Date: Tue, 21 Oct 2014 12:44:30 -0400 Subject: [PATCH] Repair error reporting in {error, Reason} case --- mod_post_log/src/mod_post_log.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_post_log/src/mod_post_log.erl b/mod_post_log/src/mod_post_log.erl index 3f79ca9..cae8ac8 100644 --- a/mod_post_log/src/mod_post_log.erl +++ b/mod_post_log/src/mod_post_log.erl @@ -89,7 +89,7 @@ post_xml(Xml) -> ok. post_result({_ReqId, {error, Reason}}) -> - report_error(Reason); + report_error([ {error, Reason } ]); post_result({_ReqId, Result}) -> {StatusLine, Headers, Body} = Result, {_HttpVersion, StatusCode, ReasonPhrase} = StatusLine,