mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
do not re-use output when an exception occurs
Summary: $stdout from the previous run would be reused if an exception occurred Test Plan: that's a negative, ghostrider. Reviewers: epriestley, jungejason Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D2008
This commit is contained in:
parent
d28eb759d6
commit
bee69f9ce2
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ final class DiffusionSvnDiffQuery extends DiffusionDiffQuery {
|
|||
$futures = array_filter($futures);
|
||||
|
||||
foreach (Futures($futures) as $key => $future) {
|
||||
$stdout = '';
|
||||
try {
|
||||
list($stdout) = $future->resolvex();
|
||||
} catch (CommandException $e) {
|
||||
|
|
Loading…
Reference in a new issue