aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZachary Dunn <zdunn76@gmail.com>2019-03-18 14:52:24 +0000
committerZachary Dunn <zdunn76@gmail.com>2019-03-18 14:52:24 +0000
commitaf4338da0c26d992a5189fe940aa08ba69222e3b (patch)
tree81f25348c8d4b3bad338dec1d7360ada733d5988 /lib
parent5ba14c664b46faf633692cafa4290c0e6521d03c (diff)
downloadpleroma-af4338da0c26d992a5189fe940aa08ba69222e3b.tar.gz
Use better error message
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/user.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex
index 6e8103c1c..dcc03ae95 100644
--- a/lib/pleroma/user.ex
+++ b/lib/pleroma/user.ex
@@ -547,7 +547,7 @@ defmodule Pleroma.User do
{:ok, user}
else
- _e -> {:error, "Error"}
+ e -> {:error, e}
end
end
end