Use better error message
This commit is contained in:
parent
5ba14c664b
commit
af4338da0c
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ def get_or_fetch_by_nickname(nickname) do
|
|||
|
||||
{:ok, user}
|
||||
else
|
||||
_e -> {:error, "Error"}
|
||||
e -> {:error, e}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue