September 03, 2006 @ 11:26 PM
RSS Feeds For Exception Logger

I’ve finally gotten around to integrating the exception logger plugin into Beast. Not only does this give me a convenient way to monitor any unhandled exceptions, it also sets up simple 404/500 pages. Currently, rails will manually write out the dreaded “Rails Application Error” message, even though it creates those 404.html/500.html pages in your public directory. This is easy enough to change by overriding rescue_action_in_public, but it’s also something handled by exception_logger (and exception_notification).
The big news for this update though, is I have added RSS feeds for your unhandled exceptions. The feed takes the same query params, so you can create customized exception feeds. The challenge was making it easy to integrate with any app. Beast’s authentication system is very basic, with no HTTP Basic support. I added the required methods to the plugin and ended up wrapping Beast’s login_required with alias_method_chain.
Comments are closed.
