Verified Commit e4487349 authored by dashie's avatar dashie
Browse files

Explicit error message

parent fd0bf3aa
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment