vendor/bundle/ruby/2.3.0/gems/sqreen-1.10.5/lib/sqreen/rule_callback.rb
def record_exception(exception, infos = {}, at = Time.now.utc)
        return unless framework
        payload = {
          :exception => exception,
          :infos => infos,
          :rulespack_id => rulespack_id,
          :rule_name => rule_name,
          :test => test,
          :time => at,
          :backtrace => exception.backtrace || Sqreen::Context.bt,
        }
        framework.observe(:sqreen_exceptions, payload)
      end
# Record an exception that just occurred
# @param exception [Exception] Exception to send over
# @param infos [Hash] Additional contextual information
Record an exception that just occurred
Record an exception that just occurred
def record_exception(exception, infos = {}, at = Time.now.utc)
        return unless framework
        payload = {
          :exception => exception,
          :infos => infos,
          :rulespack_id => rulespack_id,
          :rule_name => rule_name,
          :test => test,
          :time => at,
          :backtrace => exception.backtrace || Sqreen::Context.bt,
        }
        framework.observe(:sqreen_exceptions, payload)
      end
def record_exception ( exception , infos = { } , at = Time . now . utc ) return unless framework payload = { :exception => exception , :infos => infos , :rulespack_id => rulespack_id , :rule_name => rule_name , :test => test , :time => at , :backtrace => exception . backtrace || Sqreen :: Context . bt , } framework . observe ( :sqreen_exceptions , payload ) end
Record an exception that just occurred
Record an exception that just occurred
exception
Exception to send over
Exception to send over
infos
Additional contextual information
Additional contextual information
at
now
utc