From b953e6e3b20682648c02544d4f81bb0b20bdb3d5 Mon Sep 17 00:00:00 2001 From: hns Date: Wed, 16 Mar 2005 20:20:54 +0000 Subject: [PATCH] Use logError() rather than logEvent() for logging HTTP request errors --- src/helma/framework/core/RequestEvaluator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/helma/framework/core/RequestEvaluator.java b/src/helma/framework/core/RequestEvaluator.java index 16c7fad4..8f4944db 100644 --- a/src/helma/framework/core/RequestEvaluator.java +++ b/src/helma/framework/core/RequestEvaluator.java @@ -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)) {