Skip to content

Conversation

@ripta
Copy link
Contributor

@ripta ripta commented May 12, 2015

Raven.send, which happens to be used from Raven.capture_type is deprecated, and causes deprecation warnings. I would count this as a bug, because the end user cannot directly avoid the warning if they use Raven.capture_type directly—or in our case using it through the Rack integration middleware.

This PR makes capture_type use send_event and avoid the warning altogether, and changes the specs to match.

All green: 170 examples, 0 failures.

Thanks!

The #send method is deprecated, and causes noisy warnings.
@nateberkopec
Copy link
Contributor

Derp! Sorry, I thought I caught all of these. Thanks.

nateberkopec added a commit that referenced this pull request May 12, 2015
Use send_event when capturing an exception
@nateberkopec nateberkopec merged commit 169b5d9 into getsentry:master May 12, 2015
@nateberkopec
Copy link
Contributor

I'll push out a tiny version release tonight to fix.

@ripta
Copy link
Contributor Author

ripta commented May 12, 2015

\o/ Thanks much! :)

@nateberkopec
Copy link
Contributor

0.13.3 has been pushed to rubygems.

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