Sha256: eaf32db49442023c61a4dcd737c7b5ed45f2c91d46c25f39e2c50bfb3d04056d

Contents?: true

Size: 424 Bytes

Versions: 12

Compression:

Stored size: 424 Bytes

Contents

Errplane.configure(true) do |config|
  config.logger                ||= logger
  config.rails_environment     ||= settings.environment
  config.application_root            ||= settings.root
  config.framework               = "Sinatra"
  config.framework_version       = ::Sinatra::VERSION
end

error do
  Errplane.transmit_unless_ignorable(request.env['sinatra.error'], request.env)
  raise request.env['sinatra.error']
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
errplane-0.4.3 lib/errplane/sinatra.rb
errplane-0.4.2 lib/errplane/sinatra.rb
errplane-0.4.1 lib/errplane/sinatra.rb
errplane-0.4.0 lib/errplane/sinatra.rb
errplane-0.3.7 lib/errplane/sinatra.rb
errplane-0.2.7 lib/errplane/sinatra.rb
errplane-0.2.6 lib/errplane/sinatra.rb
errplane-0.2.5 lib/errplane/sinatra.rb
errplane-0.2.4 lib/errplane/sinatra.rb
errplane-0.2.3 lib/errplane/sinatra.rb
errplane-0.2.0 lib/errplane/sinatra.rb
errplane-0.1.9 lib/errplane/sinatra.rb