| Author |
Message |
gordan
Joined: 20 Jan 2012 Posts: 4
|
Posted: Fri Jan 20, 2012 1:03 pm Post subject: 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:
| Code: |
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? |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group