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-3.6.0 lib/rollbar/middleware/sinatra.rb
rollbar-3.5.2 lib/rollbar/middleware/sinatra.rb
rollbar-3.5.1 lib/rollbar/middleware/sinatra.rb
rollbar-3.5.0 lib/rollbar/middleware/sinatra.rb
rollbar-3.4.2 lib/rollbar/middleware/sinatra.rb
rollbar-3.4.1 lib/rollbar/middleware/sinatra.rb
rollbar-3.4.0 lib/rollbar/middleware/sinatra.rb
rollbar-3.3.3 lib/rollbar/middleware/sinatra.rb
rollbar-3.3.2 lib/rollbar/middleware/sinatra.rb
rollbar-3.3.1 lib/rollbar/middleware/sinatra.rb
rollbar-3.3.0 lib/rollbar/middleware/sinatra.rb
rollbar-3.2.0 lib/rollbar/middleware/sinatra.rb
rollbar-3.1.2 lib/rollbar/middleware/sinatra.rb
rollbar-3.1.1 lib/rollbar/middleware/sinatra.rb
rollbar-3.1.0 lib/rollbar/middleware/sinatra.rb
rollbar-3.0.1 lib/rollbar/middleware/sinatra.rb
rollbar-3.0.0 lib/rollbar/middleware/sinatra.rb
rollbar-2.27.1 lib/rollbar/middleware/sinatra.rb
rollbar-2.27.0 lib/rollbar/middleware/sinatra.rb
rollbar-2.26.1 lib/rollbar/middleware/sinatra.rb