Re: [Lift] Exception notification?

2010-01-29 Thread David Pollak
You can also play extractor tricks here: object MyExceptionLogger { def unapply(in: (Props.RunModes.Value, Req, Throwable)): Option[(Props.RunModes.Value, Req, Throwable)] = { Mailer.sendMail(From("y...@yaks.com"), Subject("You've got exception"), To("firefight...@yaks.com"), PlainMailBodyT

Re: [Lift] Exception notification?

2010-01-28 Thread Jeppe Nejsum Madsen
Yu-Shan Fung writes: > Hi All, > > A bit of a shot in the dark, but is there an easy way to setup email > notification on an lift app whenever an uncaught exception occurs? Seems > like a common enough use-case, just wonder if there's a standard way to do > it before I roll my own. I have it set

[Lift] Exception notification?

2010-01-28 Thread Yu-Shan Fung
Hi All, A bit of a shot in the dark, but is there an easy way to setup email notification on an lift app whenever an uncaught exception occurs? Seems like a common enough use-case, just wonder if there's a standard way to do it before I roll my own. Thanks! Yu-Shan. -- You received this message