Browse files

Return a real error message & 500 status in case the error processing

  • Loading branch information...
jeppenejsum authored and fmpwizard committed Dec 12, 2012
1 parent 3f9ea57 commit 47b8ec01c76274451e33fc629acc2659e8340e7c
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/webkit/src/main/scala/net/liftweb/http/S.scala
@@ -1136,7 +1136,7 @@ trait S extends HasParams with Loggable {
logger.error("An error occurred while running error handlers", t)
logger.error("Original error causing error handlers to be run", orig)} {
NamedPF.applyBox((Props.mode, req, orig), LiftRules.exceptionHandler.toList);
- } openOr Empty
+ } openOr Full(PlainTextResponse("An error has occurred while processing an error using the functions in LiftRules.exceptionHandler. Check the log for details.", 500))
private object _skipXmlHeader extends TransientRequestVar(false)

0 comments on commit 47b8ec0

Please sign in to comment.