From 5b104e291a1a5482304c6172c2242b04944fde8f Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 2 Mar 2015 08:15:02 +1100 Subject: [PATCH] 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 --- .../PhabricatorRepositoryCommitMessageParserWorker.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php b/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php index 37b6cb8045..16466c5559 100644 --- a/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php +++ b/src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php @@ -30,7 +30,9 @@ abstract class PhabricatorRepositoryCommitMessageParserWorker if (empty($refs_raw['data'])) { 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']));