Hi,
according to @teamon
All middleware must handle both {:ok, env} and {:error, ...} results returned from Tesla.run()
However, it seems that this middleware does not handle error tuples which forces users to skip this middleware in case of an error tuple response or let it crash.
I've observed this behaviour using version 1.1.0. Would you like me to open a PR for this? :)
See elixir-tesla/tesla#391
Hi,
according to @teamon
However, it seems that this middleware does not handle error tuples which forces users to skip this middleware in case of an error tuple response or let it crash.
I've observed this behaviour using version 1.1.0. Would you like me to open a PR for this? :)
See elixir-tesla/tesla#391