Skip to content

Commit

Permalink
#9 more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 20, 2019
1 parent 980f14d commit 8b076df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zold/wts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def clean(http)
error = (http.headers || {})['X-Zold-Error']
raise error unless error.nil?
unless http.code == 200 || http.code == 302
@log.debug(http.body)
@log.debug("HTTP response body: #{http.body}")
raise "Unexpected response code #{http.code}"
end
http
Expand Down

0 comments on commit 8b076df

Please sign in to comment.