exception - .NET "Send error report to [me]" -


If an exception promotes all methods (which will definitely never happen) to the top of my application, I program Before crashing, I would like to provide an option to send an error report. What is in my mind is wrapping everything in the main function in one attempt, and a small square that sends stack traces and other information to my server seems quite easy, but with something like this I am sure There are obstacles (such as safety, future-proofing) which I have not fully considered.

Is there any current NET library / project this purpose? Or alternatively, is this sound like the right perspective, just catching all the exceptions in the entry point of the app?

See all the available logging frameworks in .NET, none of them should offer email notifications.

I consider it the best practice to handle top level exceptions, which collects and logs data without exceptions. As Maye said in his comment on his question, you need one for each thread in your app.

There is one on the error reporting facility in fogbugs, maybe this may give you some more ideas. (I think I read it on my blog, but I can find all that is the form of a fugbugs document.)


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -