1
0
Fork 0
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:
epriestley 2015-07-07 12:52:12 -07:00
parent 308f60a7cd
commit 9979952e71

View file

@ -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;