Explicit error message
This commit is contained in:
parent
fd0bf3aa71
commit
e448734952
@ -49,6 +49,6 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
|
||||
def nodeinfo(conn, _) do
|
||||
conn
|
||||
|> put_status(404)
|
||||
|> json(%{error: "Nodeinfo schema not handled"})
|
||||
|> json(%{error: "Nodeinfo schema version not handled"})
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user