From 4757fa93a83b60dd17da80bd6d336eafbef4ffca Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 22 Nov 2002 19:28:35 +0000 Subject: [PATCH] Changed the name of the scripting engine property to scriptingEngine. Do not print stack trace when an exception is thrown since this is already done in the scripting engine. --- src/helma/framework/core/RequestEvaluator.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/helma/framework/core/RequestEvaluator.java b/src/helma/framework/core/RequestEvaluator.java index 64d2e043..e7478dcc 100644 --- a/src/helma/framework/core/RequestEvaluator.java +++ b/src/helma/framework/core/RequestEvaluator.java @@ -71,7 +71,7 @@ public final class RequestEvaluator implements Runnable { protected void initScriptingEngine () { if (scriptingEngine == null) { String engineClassName = app.getProperty ( - "scripting.engine.factory", + "scriptingEngine", "helma.scripting.fesi.FesiEngine"); try { Class clazz = app.typemgr.loader.loadClass (engineClassName); @@ -333,10 +333,6 @@ public final class RequestEvaluator implements Runnable { if (error == null) { app.errorCount += 1; app.logEvent ("Exception in "+Thread.currentThread()+": "+x); - // Dump the profiling data to System.err - if (app.debug) { - x.printStackTrace (); - } // set done to false so that the error will be processed done = false; error = x.getMessage ();