Handling Errors with Rollbar

Rollbar is a service for tracking and reproducing exceptions and errors. It can collect, de-duplicate, and alert on error conditions. It also provides a dashboard and analysis tools you can use to investigate specific incidents.

Having an error tracker helps you monitor the unexpected. When you’re monitoring performance, you know to look at heap and CPU usage. But unexpected errors often come from the places you never thought to look at. Rollbar watches for exceptions globally within the runtime, which means it can catch any error—even those that originate outside your code. Let’s add Rollbar to Twitalytics.

If you’re using Heroku, attach the Rollbar add-on to your app by running this command:

 $ ​​heroku

Get Deploying with JRuby 9k now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.