Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14079526
D11518.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
625 B
Referenced Files
None
Subscribers
None
D11518.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11518: Throw a more tailored exception
Attached
Detach File
Event Timeline
Log In to Comment