This commit is contained in:
rinpatch 2019-01-15 11:59:05 +03:00
parent ce15e0659e
commit 4587a5712a

View file

@ -460,7 +460,7 @@ def get_cached_by_nickname_or_id(nickname_or_id) do
user = get_cached_by_id(maybe_id)
if user == nil do
raise ArgumentError, message: "invalid argument foo"
raise ArgumentError, message: "No such user id"
else
user
end