emerleite / emerleite/tesla_cache
Handling error responses
Open
- Dominant language
- Elixir
- Stars
- 9
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
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 https://github.com/teamon/tesla/issues/391
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.