mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02: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) {
|
if (!$object) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
pht(
|
pht(
|
||||||
'Cursor "%s" does not identify a valid object.',
|
'Cursor "%s" does not identify a valid object in query "%s".',
|
||||||
$cursor));
|
$cursor,
|
||||||
|
get_class($this)));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $object;
|
return $object;
|
||||||
|
|
Loading…
Reference in a new issue