correct error message

This commit is contained in:
Hakaba Hitoyo 2018-07-17 17:29:18 +09:00
parent 091b7925d3
commit 5b4a21317d

View file

@ -1099,7 +1099,7 @@ def suggestions(%{assigns: %{user: user}} = conn, _) do
conn conn
|> json(data2) |> json(data2)
else else
e -> Logger.error("Could not decode user at fetch #{url}, #{inspect(e)}") e -> Logger.error("Could not retrieve suggestions at fetch #{url}, #{inspect(e)}")
end end
else else
json(conn, []) json(conn, [])