Page MenuHomePhabricator

D11518.diff
No OneTemporary

D11518.diff

diff --git a/src/parser/xhpast/bin/xhpast_parse.php b/src/parser/xhpast/bin/xhpast_parse.php
--- a/src/parser/xhpast/bin/xhpast_parse.php
+++ b/src/parser/xhpast/bin/xhpast_parse.php
@@ -35,8 +35,8 @@
// Try to build XHPAST automatically. If we can't then just ask the user
// to build it themselves.
xhpast_build();
- } catch (CommandException $e) {
- throw new Exception(xhpast_get_build_instructions());
+ } catch (CommandException $ex) {
+ throw new PhutilProxyException(xhpast_get_build_instructions(), $ex);
}
}
$future = new ExecFuture('%s', xhpast_get_binary_path());

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 8:37 AM (18 h, 33 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6777951
Default Alt Text
D11518.diff (625 B)

Event Timeline