diff --git a/src/helma/framework/core/RequestEvaluator.java b/src/helma/framework/core/RequestEvaluator.java index 91f3f0d7..a1956dee 100644 --- a/src/helma/framework/core/RequestEvaluator.java +++ b/src/helma/framework/core/RequestEvaluator.java @@ -220,6 +220,7 @@ public final class RequestEvaluator implements Runnable { if (error != null) { // there was an error in the previous loop, call error handler currentElement = root; + res.setStatus(500); // do not reset the requestPath so error handler can use the original one // get error handler action