New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

exceptioner

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exceptioner

  • 0.0.5
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= Exceptioner

Stay notified about exceptions by various transports Email, Jabber, IRC, etc. Choose the option you want.

The most common use is to use Exceptioner as rack middleware and send notifications when an exception occur in you web application. It may be used with Rails, Sinatra or any other rack citizen. Exceptioner may be also used with any ruby code you want. Just configure delivery methods and don't miss any exception.

= Currently available delivery methods

  • Email - BETA
  • Jabber/XMPP - ALPHA

= Usage

Note: Exceptioner is under heavy development and it is not recommended to use for production applications.

== Rails 3 users

Add to your Gemfile gem 'exceptioner'

and obviously run bundle install

Then copy config file to your application rails generate exceptioner:install.

You probably want to check config/initializers/exceptioner.rb and customize it a bit

== Rails 2.X users

NEED SUPPORT

== Any Rack application users

gem install exceptioner

Then require exceptioner and add Exceptioner::Middleware to your stack

== Any Ruby application users

gem install exceptioner

Then require excptioner and use it like:

begin 
    # some code which may fail
rescue VeryFatalError => e
    Exceptioner.notify(e)
end    

== Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

== Copyright

Copyright (c) 2010 Michał Łomnicki. See LICENSE for details.

FAQs

Package last updated on 13 Jan 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc