[Seaside] Handling errors - staging/production
John Toohey
jt at parspro.com
Thu Jun 2 04:50:02 UTC 2011
Seaside has an abstract class, WAEmailErrorHandler that will email the
stack traces. Just found it, but when I ran my app with a handler
based on that, it prompted for an SMTP server, which I gave it, but
not password/account info. The code called then failed contacting the
server, but I cannot find where in the image to change the credentials
for the SMTP server.
Has anyone ever used this handler, or knows how to re-configure the
MailSender class?
On Mon, May 30, 2011 at 13:46, Boris Popov, DeepCove Labs
<boris at deepcovelabs.com> wrote:
> 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,
>
> -Boris
>
> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Francois Stephany
> Sent: 30 May 2011 13:42
> To: seaside at lists.squeakfoundation.org
> Subject: [Seaside] Handling errors - staging/production
>
> What is the preferred way to handle errors on a production seaside application? Is there some kind of http://www.hoptoadapp.com/ to handle applications crashes/walkback?
>
> How do you typically do to handle errors?
>
> Cheers,
> Francois
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
--
~JT
More information about the seaside
mailing list