Sha256: bdac689b74abe304b780bab72d1ebd692ebb1f21b693a2e557ef43e2667f078d
Contents?: true
Size: 263 Bytes
Versions: 5
Compression:
Stored size: 263 Bytes
Contents
module Errplane class Rack def initialize(app) @app = app end def call(env) begin response = @app.call(env) rescue => e Errplane.transmit_to_api(e, env) raise(e) end response end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
errplane-0.1.1 | lib/errplane/rack.rb |
errplane-0.1.0 | lib/errplane/rack.rb |
errplane-0.0.6 | lib/errplane/rack.rb |
errplane-0.0.5 | lib/errplane/rack.rb |
errplane-0.0.4 | lib/errplane/rack.rb |