Search code examples
androidexceptionnewrelic

How to send a caught exception with NewRelic?


I can't find a sample code online on how to send caught exceptions to NewRelic on Android. I just want something like:

try{
...
}catch(final Exception e){

    NewRelic.sendException(e);
}

Any ideas?


Solution

  • Unfortunately a call like this doesn't exist in the mobile SDK but I've logged a feature request for this. Thanks for the suggestion!