Sha256: a0a60d4608ec34eb53b0b676c182260c4784b95228d2c99209e8bc006a5d5496
Contents?: true
Size: 644 Bytes
Versions: 33
Compression:
Stored size: 644 Bytes
Contents
module Sentry module Integrable def register_integration(name:, version:) Sentry.register_integration(name, version) @integration_name = name end def integration_name @integration_name end def capture_exception(exception, **options, &block) options[:hint] ||= {} options[:hint][:integration] = integration_name Sentry.capture_exception(exception, **options, &block) end def capture_message(message, **options, &block) options[:hint] ||= {} options[:hint][:integration] = integration_name Sentry.capture_message(message, **options, &block) end end end
Version data entries
33 entries across 33 versions & 2 rubygems