Page MenuHomePhabricator

D14745.id.diff
No OneTemporary

D14745.id.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
Sat, Nov 2, 9:26 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6744919
Default Alt Text
D14745.id.diff (807 B)

Event Timeline