What are the challenges you face when working across database platforms? Take the survey

Send additional data in reported execption

gordangordan Posts: 7
edited January 20, 2012 7:03AM in SmartAssembly
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("info3", “data3”);

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?
Sign In or Register to comment.