I haven't tried but perhaps you can simply use an SMTP appender for the ExceptionReporter?

On Wed, 11 Oct 2006 19:57:00 +0200, Robert Zeigler <[EMAIL PROTECTED]> wrote:

I can think of a couple of different approaches.
I'm doing this now in tap3 using a custom IMonitor implementation (tap3 calls the IMonitor's serviceException(Throwable exception) method when it encounters an exception, before it loads the error page). But, IMonitor is, apparently, deprecated in Tap4. I'm not sure what the corresponding solution is there. Another approach would be to create a custom error page. If you add the "setException" method to your page, tapestry will set it for you; you could then send the e-mail from there. I'm sure there's some nifty hivemind way of doing this, as well (I'm assuming there's some combination of hivemind magic that will let you recapture some or all of the functionality of IMonitor), but someone else will have to fill in the details there. :)

Robert

[EMAIL PROTECTED] wrote:

Hey guys.

I'm approaching a deployment of my Tap4.0 app in production.

Whenever an exception occurs, I'd like to have an email get sent to me with the information of the exception rather then relying on people sending them to me.

Has anyone gone about doing this? Any suggestions?

Thanks,
Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to