From: Michal Lomnicki Date: 2006-03-04T07:41:53+09:00 Subject: Sending mail when exception occured Hello! I want to send e-mail when an exception will occur. What is important mail should contain backtrace. At first I redefined initialize method in Exception class, it worked but of course I didn`t have access to backtrace. Now I have redefined set_backtrace method. It works as I want to, it`s access to backtrace and message of exception. I send mail directly from set_backtrace, because I noticed that method is called every time an exception occurs. Is it correct way? Maybe, you could propose better solution of my problem? Thanks in advance. Michal -- Posted via http://www.ruby-forum.com/.