I’m using SmartAssembly custom error reporting feature to report exceptions to my server. I’m having the following code snippet:
catch(Exception ex)
{
ex.Data.Add("some Info", msg);
ex.Data.Add("info2",â€data2â€);
ex.Data.Add("info3", “data3â€);
SmartAssembly.ReportException.ExceptionReporting.Report(exception);
}
When I try to read an exception from SmartAssembly error viewer the custom data added to the exception cannot be found!
How can I implement correctly some custom data in the error reporting?
catch(Exception ex) { ex.Data.Add("some Info", msg); ex.Data.Add("info2",â€data2â€); ex.Data.Add("info3", “data3â€); SmartAssembly.ReportException.ExceptionReporting.Report(exception); }When I try to read an exception from SmartAssembly error viewer the custom data added to the exception cannot be found!
How can I implement correctly some custom data in the error reporting?