joshdholtz / Sentry-Android

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

[Feature Request] Support for Stacktrace #81

Closed jschamburger closed 8 years ago

jschamburger commented 8 years ago

Hi, thanks for this awesome library! It works very well and is really easy to set up. It would be great to add support for capturing stacktraces without capturing an exception. I believe the stacktrace is always important to gain some knowledge about the context of an issue, but attaching an artificial to an event is a possible workaround, but not the best option since every event is then shown with title "Throwable" and the actual message is only displayed in the subtitle in Sentry. I've seen an example of the stacktrace object here: https://gist.github.com/umurkontaci/9270201

Of course, I could just extend the SentryEventBuilder, but since the event is private, this does not seem like a viable option just for adding an additional field. Making the event protected should allow to extend the SentryEventBuilder quite easily, so this would already be helpful I guess.

Kind regards Johannes

jschamburger commented 8 years ago

Nice! Thanks for the quick implementation of this feature!

marcomorain commented 8 years ago

You're welcome!