Hi:
Mobile application, basically is running on c#. We are using sentry (ravenClient and SharpRaven) to send exceptions to sentry. My question is: i need filter exceptions “Before” send to sentry, as i can see i can use ravenClient.BeforeSend method but i can not find a good example of use, i just got this:
ravenClient.BeforeSend = requester =>
{
// Here you can log data from the requester
// or replace it entirely if you want.
return requester;
};
It’s ok but what happen if i want filter exceptions in c# before send and i would like to have just most critical exceptions like json errors or timeouts exceptions with or without constructor to use (Exception)Activator.CreateInstance method from c# (it suppose that create instance can make an instance of a new exception after pass parameters like name and message)