Use logError() rather than logEvent() for logging HTTP request errors

This commit is contained in:
hns 2005-03-16 20:20:54 +00:00
parent aaeba92e4b
commit b953e6e3b2

View file

@ -514,8 +514,7 @@ public final class RequestEvaluator implements Runnable {
// check if we tried to process the error already
if (error == null) {
app.errorCount += 1;
app.logEvent("Exception in " +
Thread.currentThread() + ": " + x);
app.logError("Error in " + Thread.currentThread(), x);
// Dump the profiling data to System.err
if (app.debug && !(x instanceof ScriptingException)) {