User: better error message when getActorId fails.
authordaniel <dkinzler@wikimedia.org>
Wed, 18 Dec 2019 11:50:37 +0000 (12:50 +0100)
committerPaladox <thomasmulhall410@yahoo.com>
Fri, 20 Dec 2019 20:48:54 +0000 (20:48 +0000)
commit62b44d8c3ad4838e2045d514dd603625ce53d9df
treee76f5d565f10f2f5e748f7ebaba3c8ed0a475a94
parentff037a9b09e0c5d52426d60828615d37ede20750
User: better error message when getActorId fails.

This changes User::getActorId() to include the user name and id
when throwing an exception. This doesn't solve the problem
reported in T211450, but should allow the the probelmatic user
name to be identified.

Bug: T211450
Change-Id: Ie83ce6ad6b5ef18ea44a52e204f580cd9c992148
(cherry picked from commit db3e7f8b7e81eed410e6f82f939038768efd27ce)
includes/user/User.php