Use better error message
This commit is contained in:
parent
5ba14c664b
commit
af4338da0c
|
@ -547,7 +547,7 @@ def get_or_fetch_by_nickname(nickname) do
|
||||||
|
|
||||||
{:ok, user}
|
{:ok, user}
|
||||||
else
|
else
|
||||||
_e -> {:error, "Error"}
|
e -> {:error, e}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue