Sha256: 53ef59af5f164d29164154057c5b42a63b410db529b8b2a2d440f474722fb6ff
Contents?: true
Size: 463 Bytes
Versions: 2
Compression:
Stored size: 463 Bytes
Contents
require 'json' module Raven class Processor attr_accessor :sanitize_fields def initialize(client) @client = client @sanitize_fields = client.configuration.sanitize_fields end def process(data) data end private def parse_json_or_nil(string) begin result = OkJson.decode(string) result.is_a?(String) ? nil : result rescue Raven::OkJson::Error nil end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
sentry-raven-0.12.0 | lib/raven/processor.rb |
mustwin-sentry-raven-0.11.2 | lib/raven/processor.rb |