Permalink
Browse files

Fixed a bug in the async REST stuff

  • Loading branch information...
1 parent 5b217a8 commit cb901f8cafe6904aba04bb0e69444e57b22f93eb @dpp dpp committed Mar 4, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 web/webkit/src/main/scala/net/liftweb/http/LiftServlet.scala
View
2 web/webkit/src/main/scala/net/liftweb/http/LiftServlet.scala
@@ -274,6 +274,7 @@ class LiftServlet extends Loggable {
lzy()
}
} catch {
+ case foc: LiftFlowOfControlException => throw foc
case e: Exception if !e.getClass.getName.endsWith("RetryRequest") => {
val bundle = (Props.mode, req, e)
NamedPF.applyBox(bundle, LiftRules.exceptionHandler.toList)
@@ -455,6 +456,7 @@ class LiftServlet extends Loggable {
}
}
} catch {
+ case foc: LiftFlowOfControlException => throw foc
case e => NamedPF.applyBox((Props.mode, requestState, e), LiftRules.exceptionHandler.toList);
}
tryo {LiftSession.onEndServicing.foreach(_(liftSession, requestState, ret))}

0 comments on commit cb901f8

Please sign in to comment.