Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15401668
D7616.id17192.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
889 B
Referenced Files
None
Subscribers
None
D7616.id17192.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D7616: Improve exception raised when an event listener fails to load
Attached
Detach File
Event Timeline
Log In to Comment