Page MenuHomePhabricator

D14745.diff
No OneTemporary

D14745.diff

diff --git a/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php b/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
--- a/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
+++ b/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
@@ -334,12 +334,12 @@
$remote_uri);
}
} else if ($err) {
- throw new Exception(
- pht(
- "git fetch failed with error #%d:\nstdout:%s\n\nstderr:%s\n",
- $err,
- $stdout,
- $stderr));
+ throw new CommandException(
+ pht('Failed to fetch changes!'),
+ $future->getCommand(),
+ $err,
+ $stdout,
+ $stderr);
} else {
$retry = false;
}

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 24, 10:56 PM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6744919
Default Alt Text
D14745.diff (807 B)

Event Timeline