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

View File

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