* Set HTTP status code to 500 by default when error action is invoked.
This commit is contained in:
parent
891d0f74e1
commit
911e8c3fbc
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ public final class RequestEvaluator implements Runnable {
|
||||||
if (error != null) {
|
if (error != null) {
|
||||||
// there was an error in the previous loop, call error handler
|
// there was an error in the previous loop, call error handler
|
||||||
currentElement = root;
|
currentElement = root;
|
||||||
|
res.setStatus(500);
|
||||||
|
|
||||||
// do not reset the requestPath so error handler can use the original one
|
// do not reset the requestPath so error handler can use the original one
|
||||||
// get error handler action
|
// get error handler action
|
||||||
|
|
Loading…
Add table
Reference in a new issue