Use better error message
authorZachary Dunn <zdunn76@gmail.com>
Mon, 18 Mar 2019 14:52:24 +0000 (14:52 +0000)
committerZachary Dunn <zdunn76@gmail.com>
Mon, 18 Mar 2019 14:52:24 +0000 (14:52 +0000)
lib/pleroma/user.ex

index 6e8103c1c78d72f92ac7720bd0c2cfbf157cd380..dcc03ae950869ca402c5d6a6607d310a00384a9c 100644 (file)
@@ -547,7 +547,7 @@ defmodule Pleroma.User do
 
           {:ok, user}
         else
-          _e -> {:error, "Error"}
+          e -> {:error, e}
         end
     end
   end