This commit is contained in:
Álvaro 2024-06-15 23:25:38 +02:00
parent d24dc4726b
commit bba1913d65

View File

@ -14,8 +14,9 @@ defmodule LolAnalytics.Facts.ChampionPickedItem.FactProcessor do
{:ok, decoded_match} <- Poison.decode(body, as: %LoLAPI.Model.MatchResponse{}) do
process_game_data(decoded_match)
else
_ ->
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