Page MenuHomePhabricator

D7616.id17192.diff
No OneTemporary

D7616.id17192.diff

Index: scripts/arcanist.php
===================================================================
--- scripts/arcanist.php
+++ scripts/arcanist.php
@@ -304,10 +304,13 @@
} catch (PhutilMissingSymbolException $ex) {
// Continue anwyay, since you may otherwise be unable to run commands
// like `arc set-config events.listeners` in order to repair the damage
- // you've caused.
+ // you've caused. We're writing out the entire exception here because
+ // it might not have been triggered by the listener itself (for example,
+ // the listener might use a bad class in its register() method).
$console->writeErr(
- "ERROR: Failed to load event listener '%s'!\n",
- $listener);
+ "ERROR: Failed to load event listener '%s': %s\n",
+ $listener,
+ $ex->getMessage());
}
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 18, 6:44 PM (4 d, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7689466
Default Alt Text
D7616.id17192.diff (889 B)

Event Timeline