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 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
conn
|> json(data2)
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
else
json(conn, [])