Sha256: 87887d884f4e4bcba5b3806cf8c7a5ef8543680851efac42515db25e9e8931db
Contents?: true
Size: 335 Bytes
Versions: 25
Compression:
Stored size: 335 Bytes
Contents
module Stackify class ErrorsCatcher def initialize(app, &block) @app = app @block = block end def call(env) @block.call env @app.call env rescue Exception => exception Stackify.logger_client.log_exception(StackifiedError.new exception, binding) raise exception end end end
Version data entries
25 entries across 25 versions & 1 rubygems