Sha256: f0d94849082ae7212ee7c3511639d1a148c847fee4f2935e09d24cb9a0ec329c

Contents?: true

Size: 424 Bytes

Versions: 5

Compression:

Stored size: 424 Bytes

Contents

# Errplane.configure(true) do |config|
  # config.logger            ||= ::Sinatra.logger
  # config.rails_environment ||= ::Sinatra.environment
  # config.rails_root        ||= ::Sinatra.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

5 entries across 5 versions & 1 rubygems

Version Path
errplane-0.1.6 lib/errplane/sinatra.rb
errplane-0.1.5 lib/errplane/sinatra.rb
errplane-0.1.4 lib/errplane/sinatra.rb
errplane-0.1.3 lib/errplane/sinatra.rb
errplane-0.1.2 lib/errplane/sinatra.rb