Page MenuHomePhabricator

D9697.diff
No OneTemporary

D9697.diff

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

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)

Event Timeline