diff options
Diffstat (limited to 'src/plop_httputil.erl')
-rw-r--r-- | src/plop_httputil.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plop_httputil.erl b/src/plop_httputil.erl index e428297..67e48ba 100644 --- a/src/plop_httputil.erl +++ b/src/plop_httputil.erl @@ -105,8 +105,8 @@ request(DebugTag, URL, Headers, RequestBody, Method) -> {ok, Body} = hackney:body(ClientRef), Stoptime = os:timestamp(), hackney:close(ClientRef), - lager:debug("~s: received body for ~p: time ~p", - [DebugTag, URL, timer:now_diff(Stoptime, Starttime)]), + lager:debug("~s: received body for ~p: status ~p, time ~p", + [DebugTag, URL, StatusCode, timer:now_diff(Stoptime, Starttime)]), StatusLine = {none, StatusCode, none}, AuthHeader = get_auth_header(hackney_headers:new(RespHeaders)), {http_auth:verify_auth(AuthHeader, "REPLY", |