Class

Rack::ShowExceptions

Inheritance
< Object

Rack::ShowExceptions catches all exceptions raised from the app it wraps. It shows a useful backtrace with the sourcefile and clickable context, the whole Rack environment and the request data.

Be careful when you use this on public-facing sites as it could reveal information helpful to attackers.

Constants

Name   Description
CONTEXT = 7

Methods

Class

Visibility Signature
public new (app)

Instance

Visibility Signature
public call (env)
public pretty (env, exception)

Class Method Detail

new(app)

Instance Method Detail

call(env)

pretty(env, exception)