How can we help you today? How can we help you today?

Send additional data in reported execption

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?
gordan
0

Add comment

Please sign in to leave a comment.