Hi guys is this possible to send a handled exception to HockeyApp SDK using Xamarin android ?
I am getting unhandled exceptions in HockeyApp SDK .
Can any one suggest some way to this problem.
the below code is one of my experiment. This is also not working
try
{
MetricsManager.Register(Application.Context, Application, "aca46d1941bd4891bb1ce2ab770e28a8");
MetricsManager.EnableUserMetrics();
int a = 10;
int b = a / 0;
}
catch (Exception ex)
{
MetricsManager.TrackEvent(ex.ToString());
}
If you might have seen how to do custom logging in hockey app the same can be done for handled exceptions, Something like this:
catch(Exception ex) {
MetricsManager.TrackEvent(ex.Message);
MetricsManager.TrackEvent(ex.Stacktrace);
}
Also, I would suggest you check this out MSDN on HockeyApp in XF
Good luck!
In case of queries revert.