Send additional data in reported execption

.NET obfuscator and automated error reporting

Send additional data in reported execption

Postby gordan » Fri Jan 20, 2012 1:03 pm

I’m using SmartAssembly custom error reporting feature to report exceptions to my server. I’m having the following code snippet:

Code: Select all
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?
Posts: 4
Joined: Fri Jan 20, 2012 1:00 pm

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests