Thanks that worked!

--- On Mon, 4/26/10, Thiago H. de Paula Figueiredo <thiag...@gmail.com> wrote:

From: Thiago H. de Paula Figueiredo <thiag...@gmail.com>
Subject: Re: Emailing Application Errors
To: "Tapestry users" <users@tapestry.apache.org>
Received: Monday, April 26, 2010, 12:44 PM

On Mon, 26 Apr 2010 14:38:33 -0300, Jeshurun Daniel <sjeshu...@yahoo.ca> wrote:

> Is there a way to configure Tapestry to automatically email error reports 
> when an application error occurs? I used python's django framework previously 
> and it can be configured to automatically email errors to predefined email 
> addresses, and it comes in handy to fixing bugs quickly. Is such a 
> configuration possible in tapestry? Or can it be achieved by configuring 
> Log4j? I'm sorry if I am being noobish here, I'm new to tapestry and any help 
> would be appreciated.

Not out of the box, but it's relatively easy. Create an error page as explained 
in http://tapestry.apache.org/tapestry5.1/cookbook/exceptions.html and send an 
email in reportException(Throwable exception) using JavaMail.

Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Reply via email to