-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gracefully handle plugin explosions #167
Comments
I'm writing a plugin, and wish rage would just let plugin stderr flow through (potentially pipe read + prefix + output). I ended up having to make my plugin use syslog just to develop it effectively. |
Given that Something that @FiloSottile suggested on his stream yesterday is a plugin test harness: something that is a thin shim over the client-side protocol that exercises all the weird edge cases. As this would be targeted at developers, it would definitely make sense to pipe everything back through and make it accessible. |
For the record, I don't intend to leave the verbose stderr on in actual runnable code. I think this is one of those things that would be self-regulating; if a plugin spams your terminal, you develop a dislike for the plugin and look for a friendlier one. |
FYI the next version of This issue (handling plugin panics gracefully) still needs to be addressed. |
This enables us to provide a more useful error message when a plugin unexpectedly dies. Closes #167.
#446 adds nicer error handling. Instead of outputting |
If an age plugin meets an exothermic demise,
rage
should print a prefix message and then the output of the plugin'sstderr
.The text was updated successfully, but these errors were encountered: