diff --git a/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php b/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php index b8a693a48f..f4c96b09c9 100644 --- a/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php +++ b/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php @@ -117,8 +117,9 @@ final class PhabricatorRepositoryPullLocalDaemon continue; } + $callsign = $repository->getCallsign(); + try { - $callsign = $repository->getCallsign(); $this->log("Updating repository '{$callsign}'."); id(new PhabricatorRepositoryPullEngine()) @@ -150,7 +151,11 @@ final class PhabricatorRepositoryPullLocalDaemon $this->log("Failed to acquire lock."); } catch (Exception $ex) { $retry_after[$id] = time() + $min_sleep; - phlog($ex); + + $proxy = new PhutilProxyException( + "Error while fetching changes to the '{$callsign}' repository.", + $ex); + phlog($proxy); } $this->stillWorking();