Page MenuHomePhabricator
Paste P1019

exception.diff
ActivePublic

Authored by epriestley on Dec 3 2013, 12:34 AM.
Tags
None
Referenced Files
F86817: exception.diff
Dec 3 2013, 12:34 AM
Subscribers
None
diff --git a/src/repository/api/ArcanistRepositoryAPI.php b/src/repository/api/ArcanistRepositoryAPI.php
index 1c58fdb..8fdddfb 100644
--- a/src/repository/api/ArcanistRepositoryAPI.php
+++ b/src/repository/api/ArcanistRepositoryAPI.php
@@ -299,6 +299,7 @@ abstract class ArcanistRepositoryAPI {
return Filesystem::resolvePath(rtrim($stdout, "\n"), $root);
} catch (CommandException $ex) {
+ throw $ex;
// This might be because the $root isn't a Git working copy, or the user
// might not have Git installed at all so the `git` command fails. Assume
// that users trying to work with git working copies will have a working

Event Timeline