README in exception_notification_rails3-1.1.0 vs README in exception_notification_rails3-1.2.0

- old
+ new

@@ -69,11 +69,36 @@ Using: ExceptionNotifier.with do some code... end - + + ExceptionNotifier.with({ + :name => 'MyDaemon', + :data => { :username => "david" }, + :files => [ "path/to/screenshot.png" ] + }) do + some code... + end + + begin + some code... + rescue => e + ExceptionNotifier::Notifier.background_exception_notification(e).deliver + end + + begin + some code... + rescue => e + screenshot_file = make_screenshot! + + ExceptionNotifier::Notifier.background_exception_notification(e, { + :name => "MyDaemon", + :files => [ screenshot_file ] + }).deliver + end + == Rails 2.3 stable and earlier If you are running Rails 2.3 then see the branch for that: http://github.com/rails/exception_notification/tree/2-3-stable @@ -84,6 +109,6 @@ == Support and tickets https://rails.lighthouseapp.com/projects/8995-rails-plugins -Copyright (c) 2005 Jamis Buck, released under the MIT license \ No newline at end of file +Copyright (c) 2005 Jamis Buck, released under the MIT license