Red Gate forums :: View topic - Is it possible to send an exception report manually?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Is it possible to send an exception report manually?

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
ElDanimal



Joined: 17 Nov 2011
Posts: 2

PostPosted: Thu Nov 17, 2011 3:34 pm    Post subject: Is it possible to send an exception report manually? Reply with quote

I love how SA can handle uncaught exceptions and send them back to the mothership. However, what about caught exceptions? Is there something I can do in my exception handlers to upload that information as well?
Back to top
View user's profile Send private message
Simon C



Joined: 26 Feb 2008
Posts: 140
Location: Red Gate Software

PostPosted: Thu Nov 17, 2011 7:01 pm    Post subject: Reply with quote

If you've got SmartAssembly Pro, you can reference SmartAssembly.ReportException.dll and call ExceptionReporting.ReportException(Exception) manually, as described in Method 1 of this article: http://www.red-gate.com/supportcenter/Content?p=SmartAssembly&c=SmartAssembly%2fhelp%2f6.5%2fSA_Errors_DLLs.htm&toc=SmartAssembly%2fhelp%2f6.5%2ftoc.htm

SimonC
Back to top
View user's profile Send private message Send e-mail
ElDanimal



Joined: 17 Nov 2011
Posts: 2

PostPosted: Thu Nov 17, 2011 7:20 pm    Post subject: Reply with quote

That's exactly what I was looking for -- thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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