Skip to content

Conversation

@if1live
Copy link
Contributor

@if1live if1live commented May 1, 2015

How to raise bug

# use you dsn
$ bundle exec rake "raven:test[https://foo:bar@app.getsentry.com/1234]"

Client configuration:
-> server: https://app.getsentry.com
-> project_id: 1234
-> public_key: blabla...
-> secret_key: blabla...

Sending a test event:
rake aborted!
NoMethodError: undefined method `id' for #<Hash:0x007f71af480fa8>

why occur?

When async is enabled, evt.value is like...

{:event_id=>"401ed3befbb0bb5d10807213b8d35c1a", :message=>"ZeroDivisionError: divided by 0", :timestamp=>"2015-05-01T07:55:15", ....
  1. evt.value is not object. It is a hash
  2. event_id, not id

Related issue / pull request

Related error
NoMethodError: undefined method `id' for #<Hash:0x007f71af480fa8>
@if1live if1live changed the title Use event_id instead of id if when async+thread enabled Use event_id instead of id if async+thread enabled May 1, 2015
nateberkopec added a commit that referenced this pull request May 4, 2015
Use event_id instead of id if async+thread enabled
@nateberkopec nateberkopec merged commit 3e4a379 into getsentry:master May 4, 2015
@if1live if1live deleted the feature/fix-async-test branch May 4, 2015 23:44
alexford pushed a commit to alexford/raven-ruby that referenced this pull request Jan 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants