Method: Sentry.capture_message

Defined in:
lib/sentry-ruby.rb

.capture_message(message, **options) {|scope| ... } ⇒ Event?

Takes a message string and reports it to Sentry via the currently active hub.

Yield Parameters:

Returns:

[View source]

463
464
465
466
# File 'lib/sentry-ruby.rb', line 463

def capture_message(message, **options, &block)
  return unless initialized?
  get_current_hub.capture_message(message, **options, &block)
end