joshdholtz / Sentry-Android

[Deprecated] Use official "raven-java" library
https://github.com/getsentry/sentry-java
MIT License
180 stars 48 forks source link

Uncaught exceptions and cached events aren't intercepted by the capture listener #12

Closed will-emmerson closed 10 years ago

will-emmerson commented 10 years ago

I'm trying to attach some tags to all exceptions using the CaptureListener but it seems they are only being attached to messages sent using captureMessage(), is this by design? By cached events I mean those that couldn't be sent and are then sent later.

joshdholtz commented 10 years ago

NOTES This line - https://github.com/joshdholtz/Sentry-Android/blob/master/src/com/joshdholtz/sentry/Sentry.java#L387

Need to call this:

Sentry.getInstance().captureListener.beforeCapture(builder)
joshdholtz commented 10 years ago

I will jump on this today

joshdholtz commented 10 years ago

@will-emmerson BOOM - https://github.com/joshdholtz/Sentry-Android/releases/tag/v1.1.1