Sha256: 70e76a5e3dcd38a8f50c0a9775df9d8d8e6c590af5d06ccd2bb075bd4549f461
Contents?: true
Size: 578 Bytes
Versions: 12
Compression:
Stored size: 578 Bytes
Contents
# Copyright (c) 2015 Sqreen. All Rights Reserved. # Please refer to our terms for more information: https://www.sqreen.com/terms.html module Sqreen module Dependency module Sentry module_function def ignore_sqreen_exceptions return unless defined?(Raven) && Raven.respond_to?(:configuration) Raven.configuration.excluded_exceptions += ['Sqreen::AttackBlocked'] rescue ::Exception => e # rubocop:disable Lint/RescueException Sqreen.log.warn "Failed setting Sentry's excluded_exceptions: #{e.inspect}" end end end end
Version data entries
12 entries across 12 versions & 1 rubygems