Method: Sentry::Configuration#sending_to_dsn_allowed?

Defined in:
lib/sentry/configuration.rb

#sending_to_dsn_allowed?Boolean

Returns:

  • (Boolean)
[View source]

579
580
581
582
583
# File 'lib/sentry/configuration.rb', line 579

def sending_to_dsn_allowed?
  @errors = []

  valid? && capture_in_environment?
end