Help us understand the problem. What is going on with this article?

raven-ruby で Sentry にパラメータを送る

More than 1 year has passed since last update.

getsentry/raven-rubyRaven.capture_message メソッドへのパラメータの渡し方は、こういう風になっている。

Raven.capture_message 'My Event!',
  logger: 'logger',
  extra: {
    my_custom_variable: 'value'
  tags: {
    foo: 'bar'


# capture_exception は capture_message の alias
    extra: {
      foo: 'foo'


Screen Shot 2018-04-03 at 20.42.11.png

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away