fix
This commit is contained in:
parent
d24dc4726b
commit
bba1913d65
@ -14,8 +14,9 @@ defmodule LolAnalytics.Facts.ChampionPickedItem.FactProcessor do
|
|||||||
{:ok, decoded_match} <- Poison.decode(body, as: %LoLAPI.Model.MatchResponse{}) do
|
{:ok, decoded_match} <- Poison.decode(body, as: %LoLAPI.Model.MatchResponse{}) do
|
||||||
process_game_data(decoded_match)
|
process_game_data(decoded_match)
|
||||||
else
|
else
|
||||||
|
_ ->
|
||||||
Logger.error("Could not process data from #{url} for ChampionPickedItem")
|
Logger.error("Could not process data from #{url} for ChampionPickedItem")
|
||||||
_ -> {:error, "Could not process data from #{url}"}
|
{:error, "Could not process data from #{url}"}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user