I have managed to integrate Raven into my Android project by following the procedure provided in README file: Raven-Android on GitHub.
I can also build events myself with custom tags and successfully capture them using instance of Raven.
The problem is, that when a "real" exception is thrown (not generated by me on purpose of testing), for example NullPointerException
, it gets reported to Sentry with default tags.
What should I do to make all the reported exceptions to have my custom tags?
Although custom tags are not supported at the time of writing this, I managed to set them by providing custom implementation of RavenFactory.java
and EventBuilderHelper.java
.
This pull request helped a lot.
The only thing that stays unsolved is that although I can add my custom tags, I cannot remove default tags.