Sha256: a67046233f372db6b2f131872692ff04434802bef2e66e9efda2c4012367ccb6
Contents?: true
Size: 462 Bytes
Versions: 4
Compression:
Stored size: 462 Bytes
Contents
require 'sentry-ruby' module SentryJets class Turbine < ::Jets::Turbine initializer 'sentry.configure' do Sentry.init do |config| config.dsn = ENV['SENTRY_DSN'] config.environment = ENV['SENTRY_CURRENT_ENV'] || Jets.env.to_s config.traces_sample_rate = ENV['SENTRY_TRACE_SAMPLE_RATE'].to_f || 0.0 end end on_exception 'sentry.capture' do |exception| Sentry.capture_exception(exception) end end end
Version data entries
4 entries across 4 versions & 2 rubygems