From fbe98c2e6600cb73e47721f94fbdf5e9994fa4b5 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 21 Dec 2019 22:57:15 -0500 Subject: [PATCH] Fix typo --- lib/frenzy/http.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/frenzy/http.ex b/lib/frenzy/http.ex index 54e1a0e..615be51 100644 --- a/lib/frenzy/http.ex +++ b/lib/frenzy/http.ex @@ -36,7 +36,7 @@ defmodule Frenzy.HTTP do {:ok, %HTTPoison.Response{status_code: 404}} -> {:error, "404 Not Found"} - {:ok, %HTTPoison.Response{status_code}} -> + {:ok, %HTTPoison.Response{status_code: status_code}} -> {:error, "HTTP #{status_code}"} {:error, %HTTPoison.Error{reason: reason}} ->