1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-30 05:58:12 +02:00

Pass exception to PhutilProxyException

Summary: Fixes T12243. That error occured due to network flakiness with some mounted filesystems so I'm not sure how best to simulate it. But you can look and see that the PhutilProxyException does indeed expect an exception as its second arg.

Test Plan: Look at method signature... look at callsite... now back at the method. Smile and nod.

Reviewers: #blessed_reviewers, yelirekim, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley

Maniphest Tasks: T12243

Differential Revision: https://secure.phabricator.com/D17335
This commit is contained in:
Josh Cox 2017-02-08 13:13:32 -05:00
parent 4039f5f11b
commit e0675b28d8

View file

@ -335,7 +335,8 @@ final class DiffusionRepositoryClusterEngine extends Phobject {
pht(
'Failed to acquire write lock after waiting %s second(s). You '.
'may be able to retry later.',
new PhutilNumber($lock_wait)));
new PhutilNumber($lock_wait)),
$ex);
}
$versions = PhabricatorRepositoryWorkingCopyVersion::loadVersions(