$ gem install exceptional
require 'exceptional'
use Rack::Exceptional, API_KEY if ENV['RACK_ENV'] == 'production'
You will find the API_KEY in the apps settings screen within Exceptional.
set :raise_errors, true
Check log/exceptional.log log file
require 'rubygems'
require 'sinatra'
set :raise_errors, true
require 'exceptional'
use Rack::Exceptional, API_KEY
get '/' do
"Hello World!"
end
get '/error' do
big.problem!
end