开发者

Capture original ASP.net Error page and send as email and display User Friendly message/page

I would like to be able to send an email with the same html that get generated when an exception occurs in asp.net however not to display this to the use开发者_如何学Pythonr.

Would this be simple? or would it just be best to manually output the exception details to an email?


You should look into a popular library called elmah:

  • http://code.google.com/p/elmah/

It will log your errors and let you view the original YSOD (yellow screen of death) and you can also optionally have them emailed to you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜