Exception Growler plugin

Plugin details

The ExceptionGrowler is a small plugin that hooks into ActionController::Rescue to send exception notifications (using Growl Network Notification Protocol) to one or more clients.

Repositoryhttp://rubyphunk.googlecode.com/svn/exception_growler/ Tags Exceptions LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://rubyphunk.googlecode.com/svn/exception_growler/

ExceptionGrowler uses [http://segment7.net/projects/ruby/growl/ ruby-growl] for notification handling. The ruby-growl Library is available as a gem. Therefor simply run:

gem install ruby-growl



Simply include the ExceptionGrowler Module in your application.rb:

class ApplicationController < ActionController::Base
  include ExceptionGrowler



Configuration code goes to your environment.rb:

ExceptionGrowler.application_name = "plugin app"  # Give it a name
ExceptionGrowler.recipients do |r|
  r << {:host => "localhost", :password => "geheim", :environment => "production", :ignore_404 => true}
  r << {:host => "my.office.work.station"}
end



Beside `host` and `password` each recipient can get the following optional configuration parameters:

`:environment` || default: all # Notifications should only occur in this environment
`:ignore_404` || default: false # Tell ExceptionGrowler to ignore all routing errors

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: scott, 12 months ago