* Do not let 404 errors increase app.errorCount, even if
no notfound action is defined.
This commit is contained in:
parent
e29a8aee38
commit
ad68ca97b3
1 changed files with 3 additions and 1 deletions
|
@ -580,7 +580,9 @@ public final class RequestEvaluator implements Runnable {
|
|||
// check if we tried to process the error already,
|
||||
// or if this is an XML-RPC request
|
||||
if (error == null) {
|
||||
app.errorCount += 1;
|
||||
if (!(x instanceof FrameworkException)) {
|
||||
app.errorCount += 1;
|
||||
}
|
||||
|
||||
// set done to false so that the error will be processed
|
||||
done = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue