correct error message
This commit is contained in:
parent
091b7925d3
commit
5b4a21317d
|
@ -1099,7 +1099,7 @@ def suggestions(%{assigns: %{user: user}} = conn, _) 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, [])
|
||||
|
|
Loading…
Reference in New Issue