Use better error message

This commit is contained in:
Zachary Dunn 2019-03-18 14:52:24 +00:00
parent 5ba14c664b
commit af4338da0c

View file

@ -547,7 +547,7 @@ def get_or_fetch_by_nickname(nickname) do
{:ok, user}
else
_e -> {:error, "Error"}
e -> {:error, e}
end
end
end