cringe
authorrinpatch <rinpatch@sdf.org>
Tue, 15 Jan 2019 08:59:05 +0000 (11:59 +0300)
committerrinpatch <rinpatch@sdf.org>
Tue, 15 Jan 2019 08:59:05 +0000 (11:59 +0300)
lib/pleroma/user.ex

index 0e828a99e1c11f35e131d2e6c489d4a7ee57445a..19759aceccc5e81dd60c2fb26175c5331577181e 100644 (file)
@@ -460,7 +460,7 @@ defmodule Pleroma.User 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