You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andreas Doms <ad...@inf.tu-dresden.de> on 2005/02/10 15:17:18 UTC
Error handling production/development
I would like to handle error differently when I work on my cocoon project.
Is there an elegant way of doing this. My users don't need to see the
exception stack trace and I don't need to be informed about exceptions
via email when I'm testing.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Error handling production/development
Posted by Upayavira <uv...@upaya.co.uk>.
Andreas Doms wrote:
> I would like to handle error differently when I work on my cocoon project.
> Is there an elegant way of doing this. My users don't need to see the
> exception stack trace and I don't need to be informed about exceptions
> via email when I'm testing.
Just a guess - might not work:
Stick a host selector into the handle-errors element, and show the full
stack trace when the host is localhost, or a pretty page otherwise.
Might that work?
Regards, Upayavira
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org