Sha256: a57168c0b7845adbdcc8a47d39740fbab51bad3ef1f5ba6570e7ce106163d92c

Contents?: true

Size: 204 Bytes

Versions: 54

Compression:

Stored size: 204 Bytes

Contents

require 'rollbar/middleware/rack'

module Rollbar
  module Middleware
    class Sinatra < Rollbar::Middleware::Rack
      def framework_error(env)
        env['sinatra.error']
      end
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
rollbar-2.26.0 lib/rollbar/middleware/sinatra.rb
rollbar-2.25.1 lib/rollbar/middleware/sinatra.rb
rollbar-2.25.0 lib/rollbar/middleware/sinatra.rb
rollbar-2.24.0 lib/rollbar/middleware/sinatra.rb
rollbar-2.23.2 lib/rollbar/middleware/sinatra.rb
rollbar-2.23.1 lib/rollbar/middleware/sinatra.rb
rollbar-2.23.0 lib/rollbar/middleware/sinatra.rb
rollbar-2.22.1 lib/rollbar/middleware/sinatra.rb
rollbar-2.22.0 lib/rollbar/middleware/sinatra.rb
rollbar-2.21.0 lib/rollbar/middleware/sinatra.rb
rollbar-2.20.2 lib/rollbar/middleware/sinatra.rb
rollbar-2.20.1 lib/rollbar/middleware/sinatra.rb
rollbar-2.20.0 lib/rollbar/middleware/sinatra.rb
rollbar-2.19.4 lib/rollbar/middleware/sinatra.rb
rollbar-2.19.3 lib/rollbar/middleware/sinatra.rb
rollbar-2.19.2 lib/rollbar/middleware/sinatra.rb
rollbar-2.19.1 lib/rollbar/middleware/sinatra.rb
rollbar-2.19.0 lib/rollbar/middleware/sinatra.rb
rollbar-2.18.2 lib/rollbar/middleware/sinatra.rb
rollbar-2.18.0 lib/rollbar/middleware/sinatra.rb