Managing web application errors with Hoptoad and Ramaze

September 22, 2008 at 23:42

Filed under: Computing — Pistos @ 23:42

I came across Hoptoad recently. Hoptoad is basically a webservice with an API that you can post error data to. It then stores the data and presents it to you in a nice web interface, and optionally sends you e-mail alerts in such a fashion that it doesn’t just unintelligently flood your inbox.

It was originally designed to be used with Rails apps, but I saw that there was also a Merb plugin. Not wanting my favourite web framework to be left out, I made a Hoptoad notifier for Ramaze with the help of manveru (the Ramaze lead dev).

Install via Rubygems:

gem install hoptoad-notifier-ramaze --source http://purepistos.net

And usage is dead easy; just two lines:

require 'hoptoad-notifier' Ramaze::Helper::HoptoadNotifier.trait[ :api_key ] = 'your-hoptoad-project-api-key'

I’m already using it with my own Ramaze applications. Enjoy! :)

  • Share/Bookmark

No related posts.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You may use Markdown syntax in your comment.

Powered by WP Hashcash

Powered by WordPress.