Skip to content

Commit

Permalink
Fix #410
Browse files Browse the repository at this point in the history
  • Loading branch information
decebals committed Dec 27, 2017
1 parent dcbc538 commit a6614a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private void checkForRecursion(RouteContext routeContext) {
}
depth += 1;
routeContext.setLocal("__errorHandlerDepth", depth);
if (depth > 2) {
if (depth > 4) {
throw new PippoRuntimeException("Recursion in error handler");
}
}
Expand Down

0 comments on commit a6614a1

Please sign in to comment.