correct error message
This commit is contained in:
parent
091b7925d3
commit
5b4a21317d
|
@ -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, [])
|
||||||
|
|
Loading…
Reference in New Issue