Sha256: d74595d5c925ea1bfd1b7ec1e39987a40345dd0e155bc82e09a2d4a5b36da92b
Contents?: true
Size: 255 Bytes
Versions: 3
Compression:
Stored size: 255 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) raise end response end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
errplane-0.0.3 | lib/errplane/rack.rb |
errplane-0.0.2 | lib/errplane/rack.rb |
errplane-0.0.1 | lib/errplane/rack.rb |