RSS Feeds For Exception Logger
!http://weblog.techno-weenie.net/assets/2006/9/4/logged_exceptions.png!
I've finally gotten around to integrating the "exception logger plugin":http://weblog.techno-weenie.net/2006/6/26/post-railsconf-report-new-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":http://dev.rubyonrails.org/svn/rails/plugins/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":http://pastie.caboo.se/11613.
related
- 2010 Aug 03 Protocol Buffers with Riak for Node.js
- 2010 Jul 13 In-Process Node.js Queues
- 2010 Jul 07 Geek Talk Interview
- 2010 Jun 28 Tee and Child Processes
- 2010 Jun 23 You can let go now
- 2010 May 17 Railsconf: Building APIs
- 2010 May 10 Nori: Node.js Riak wrapper
- 2010 May 10 No, I did not create a mobile phone framework too
- 2010 May 04 Escaping your test suite with your life
- 2010 Apr 05 Will the iPad kill comic books?

