Skip to content

Commit

Permalink
log proxy error
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Mar 3, 2014
1 parent a7b1465 commit 094626c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hackney_http_connect.erl
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,6 @@ check_status(<< "HTTP/1.0 200", _/bits >>) ->
ok;
check_status(<< "HTTP/1.0 201", _/bits >>) ->
ok;
check_status(_) ->
check_status(Else) ->
error_logger:error_msg("proxy error: ~w~n", [Else]),
false.

0 comments on commit 094626c

Please sign in to comment.