Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix error format

  • Loading branch information...
commit 4a77a1bc89122cb9808c37309cd7bd103d3e059e 1 parent c20f91d
@benoitc benoitc authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/couch_httpd/src/couch_httpd.erl
View
2  apps/couch_httpd/src/couch_httpd.erl
@@ -721,7 +721,7 @@ send_response(#httpd{mochi_req=MochiReq}=Req, Code, Headers, Body) ->
couch_stats_collector:increment({httpd_status_codes, Code}),
Headers1 = http_1_0_keep_alive(MochiReq, Headers),
if Code >= 500 ->
- ?LOG_ERROR("httpd ~p error response:~n ~s", [Code, Body]);
+ ?LOG_ERROR("httpd ~p error response:~n ~p", [Code, Body]);
Code >= 400 ->
?LOG_DEBUG("httpd ~p error response:~n ~p", [Code, Body]);
true -> ok
Please sign in to comment.
Something went wrong with that request. Please try again.