1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 01:10:58 +01:00

Fix a missing parameter

Summary: Add a missing parameter to a `pht` call

Test Plan: `arc lint`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11912
This commit is contained in:
Joshua Spence 2015-03-02 08:15:02 +11:00
parent ed49b41e91
commit 5b104e291a

View file

@ -30,7 +30,9 @@ abstract class PhabricatorRepositoryCommitMessageParserWorker
if (empty($refs_raw['data'])) { if (empty($refs_raw['data'])) {
throw new Exception( throw new Exception(
pht('Unable to retrieve details for commit "%s"!')); pht(
'Unable to retrieve details for commit "%s"!',
$commit->getPHID()));
} }
$ref = DiffusionCommitRef::newFromConduitResult(head($refs_raw['data'])); $ref = DiffusionCommitRef::newFromConduitResult(head($refs_raw['data']));