Explicit error message
authorDashie <dashie@sigpipe.me>
Wed, 2 May 2018 20:45:20 +0000 (22:45 +0200)
committerDashie <dashie@sigpipe.me>
Wed, 2 May 2018 20:45:20 +0000 (22:45 +0200)
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex

index 722518763d50b1203c74b333ef0a9ee8f06f2c24..bf845a4424e32e4fe628abff0a7826851f4ac464 100644 (file)
@@ -49,6 +49,6 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
   def nodeinfo(conn, _) do
     conn
     |> put_status(404)
-    |> json(%{error: "Nodeinfo schema not handled"})
+    |> json(%{error: "Nodeinfo schema version not handled"})
   end
 end