Skip to content

Commit e9bcadb

Browse files
ericmjbenwilson512
authored andcommitted
Logger.error => Logger.warn for retried HTTP errors (#174)
1 parent 0741d00 commit e9bcadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ex_aws/request.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ defmodule ExAws.Request do
4545
reason = {:http_error, status, body}
4646
request_and_retry(method, url, service, config, headers, req_body, attempt_again?(attempt, reason))
4747
{:error, %{reason: reason}} ->
48-
Logger.error("ExAws: HTTP ERROR: #{inspect reason}")
48+
Logger.warn("ExAws: HTTP ERROR: #{inspect reason}")
4949
request_and_retry(method, url, service, config, headers, req_body, attempt_again?(attempt, reason))
5050
end
5151
end

0 commit comments

Comments
 (0)