Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15345712
D9697.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
654 B
Referenced Files
None
Subscribers
None
D9697.diff
View Options
diff --git a/scripts/arcanist.php b/scripts/arcanist.php
--- a/scripts/arcanist.php
+++ b/scripts/arcanist.php
@@ -365,10 +365,19 @@
}
if (!$is_usage) {
- echo phutil_console_format(
- "**Exception**\n%s\n%s\n",
- $ex->getMessage(),
- '(Run with --trace for a full exception trace.)');
+ echo phutil_console_format("**Exception**\n");
+
+ while ($ex) {
+ echo $ex->getMessage()."\n";
+
+ if ($ex instanceof PhutilProxyException) {
+ $ex = $ex->getPreviousException();
+ } else {
+ $ex = null;
+ }
+ }
+
+ echo "(Run with --trace for a full exception trace.)\n";
}
exit(1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 11, 11:59 AM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7524055
Default Alt Text
D9697.diff (654 B)
Attached To
Mode
D9697: If a `PhutilProxyException` is thrown by Arcanist, print all error messages.
Attached
Detach File
Event Timeline
Log In to Comment