mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-10-04 01:01:54 +00:00
Explicit error message
This commit is contained in:
parent
fd0bf3aa71
commit
e448734952
1 changed files with 1 additions and 1 deletions
|
@ -49,6 +49,6 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
|
||||||
def nodeinfo(conn, _) do
|
def nodeinfo(conn, _) do
|
||||||
conn
|
conn
|
||||||
|> put_status(404)
|
|> put_status(404)
|
||||||
|> json(%{error: "Nodeinfo schema not handled"})
|
|> json(%{error: "Nodeinfo schema version not handled"})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue