ex-aws / ex_aws

A flexible, easy to use set of clients AWS APIs for Elixir
https://hex.pm/packages/ex_aws
MIT License
1.26k stars 521 forks source link

Update request logic to handle error reasons in keyword lists #1006

Closed maciejgryka closed 6 months ago

maciejgryka commented 8 months ago

Fixes https://github.com/ex-aws/ex_aws/issues/1005 by updating request.ex to also handle errors in the form of [reason: reason] in addition to %{reason: reason}.

[x] Run mix format using a recent version of Elixir [x] Run mix dialyzer to make sure the typing is correct [x] Run mix test to ensure no tests have broken (also please make sure you've added tests for your particular change, where appropriate).

bernardd commented 6 months ago

Great, thanks very much @maciejgryka. Apologies for the delay in getting to this.