mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 02:32:42 +01:00
Refine "invalid cursor" exception to have a little more information
Summary: Ref T8780. Test Plan: See @chad. Reviewers: chad Reviewed By: chad Subscribers: chad, epriestley Maniphest Tasks: T8780 Differential Revision: https://secure.phabricator.com/D13583
This commit is contained in:
parent
308f60a7cd
commit
9979952e71
1 changed files with 3 additions and 2 deletions
|
@ -410,8 +410,9 @@ abstract class PhabricatorCursorPagedPolicyAwareQuery
|
|||
if (!$object) {
|
||||
throw new Exception(
|
||||
pht(
|
||||
'Cursor "%s" does not identify a valid object.',
|
||||
$cursor));
|
||||
'Cursor "%s" does not identify a valid object in query "%s".',
|
||||
$cursor,
|
||||
get_class($this)));
|
||||
}
|
||||
|
||||
return $object;
|
||||
|
|
Loading…
Reference in a new issue