mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Fix an error message when calling "transaction.search" with a non-transactional object PHID as an "objectIdentifier"
Summary: See PHI1499. This error message doesn't provide parameters, and can be a little bit more helpful. Test Plan: {F6957550} Differential Revision: https://secure.phabricator.com/D20859
This commit is contained in:
parent
5dafabd5b4
commit
d34dfa3746
1 changed files with 5 additions and 2 deletions
|
@ -103,8 +103,11 @@ EOREMARKUP
|
|||
if (!($object instanceof PhabricatorApplicationTransactionInterface)) {
|
||||
throw new Exception(
|
||||
pht(
|
||||
'Object "%s" does not implement "%s", so transactions can not '.
|
||||
'be loaded for it.'));
|
||||
'Object "%s" (of type "%s") does not implement "%s", so '.
|
||||
'transactions can not be loaded for it.',
|
||||
$object_name,
|
||||
get_class($object),
|
||||
'PhabricatorApplicationTransactionInterface'));
|
||||
}
|
||||
|
||||
$xaction_query = PhabricatorApplicationTransactionQuery::newQueryForObject(
|
||||
|
|
Loading…
Reference in a new issue