You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not a big issue and simple to fix, but I wanted to create an issue partly to better understand why both catch and rescue are needed. I'm assuming because send_req/4 can "fail" in a lot of different ways?
Compiling gives a warning
==> hound
Compiling 16 files (.ex)
warning: "catch" should always come after "rescue" in try
lib/hound/request_utils.ex:9
Not a big issue and simple to fix, but I wanted to create an issue partly to better understand why both
catch
andrescue
are needed. I'm assuming becausesend_req/4
can "fail" in a lot of different ways?Compiling gives a warning
hound/lib/hound/request_utils.ex
Lines 9 to 18 in 0613a33
Elixir 1.7.4
The text was updated successfully, but these errors were encountered: