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),
Yu-Shan Fung ambivale...@gmail.com 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