Sha256: ad0e670b081b04aa50a72bf2b8362dd02ccb0162b77eecede51145f775357966

Contents?: true

Size: 414 Bytes

Versions: 5

Compression:

Stored size: 414 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_to_api(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.1 lib/errplane/sinatra.rb
errplane-0.1.0 lib/errplane/sinatra.rb
errplane-0.0.6 lib/errplane/sinatra.rb
errplane-0.0.5 lib/errplane/sinatra.rb
errplane-0.0.4 lib/errplane/sinatra.rb