Sha256: 93c6d1eceee5862e21e6a38f4cf95cde37a8236873616f0127f235986d990a8b
Contents?: true
Size: 368 Bytes
Versions: 6
Compression:
Stored size: 368 Bytes
Contents
class Tartarus::Rack def initialize(app, configuration = {}) @app = app @configuration = configuration end def call(env) begin response = @app.call(env) rescue Exception => exception Tartarus.log(env, exception) raise end if env['rack.exception'] Tartarus.log(env, exception) end response end end
Version data entries
6 entries across 6 versions & 1 rubygems