Thanks, but I cannot find the type of ExceptionHandlerPF in the Lift doc. Something like this?
LiftRules.exceptionHandler.prepend((x: NodeSeq) => Log.error(x)). On 5月8日, 上午12時08分, David Pollak <feeder.of.the.be...@gmail.com> wrote: > Exceptions are handled in LiftRules.exceptionHandler > > You can replace the RulesSeq[ExceptionHandlerPF] with your own or prepend a > handler that will log exceptions. > > On Thu, May 7, 2009 at 7:44 AM, sailormoo...@gmail.com < > > sailormoo...@gmail.com> wrote: > > > Hi : > > > Sometimes exceptions are shown in the pages, but at the same time, I > > wonder why they're not logged. May I ask how to make the exceptions > > auto-logged ?? > > > Thanks > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Beginning Scalahttp://www.apress.com/book/view/1430219890 > Follow me:http://twitter.com/dpp > Git some:http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---