[Seaside] Re: Handling errors - staging/production
Francois Stephany
tulipe.moutarde at gmail.com
Tue May 31 08:58:36 UTC 2011
Thanks !
It's exactly what I need :)
> We implement our own subclass of WAHtmlErrorHandler which logs the exception and sends email notification before presenting an error page to the browser,
>
> | app |
> app := WAAdmin register: self asApplicationAt: 'online'.
> app filter configuration at: #exceptionHandler put: WebErrorHandler.
>
> WebErrorHandler>>handleDefault: ex
> Manager
> notifyUnhandledException: ex
> in: self
> fatal: false.
> super handleDefault: ex.
>
> Hope this helps,
More information about the seaside
mailing list