Disable sentry/raven for dev environment in Ember?

I was just testing Sentry/Raven.js in my Ember (2.8) app… And I couldn’t find a way for disabling the error reports in my development environment. Is there a proper way to do it ? I couldn’t find it in the docs…

I just wanted to report my users’ errors to Sentry, not the ones I face during development.

Also, it would be great if we could setup Raven in config/environment.js rather than app/index.html.

I found this add-on as an alternative https://github.com/damiencaselli/ember-cli-sentry, but I didn’t want to add another dependency to my project.

Thanks in advance! :slight_smile:

@tmeloliveira – you can use shouldSendCallback to just return false 100% of the time when you are in your development environment. More in the docs.