Use logError() rather than logEvent() for logging HTTP request errors
This commit is contained in:
parent
aaeba92e4b
commit
b953e6e3b2
1 changed files with 1 additions and 2 deletions
|
@ -514,8 +514,7 @@ public final class RequestEvaluator implements Runnable {
|
||||||
// check if we tried to process the error already
|
// check if we tried to process the error already
|
||||||
if (error == null) {
|
if (error == null) {
|
||||||
app.errorCount += 1;
|
app.errorCount += 1;
|
||||||
app.logEvent("Exception in " +
|
app.logError("Error in " + Thread.currentThread(), x);
|
||||||
Thread.currentThread() + ": " + x);
|
|
||||||
|
|
||||||
// Dump the profiling data to System.err
|
// Dump the profiling data to System.err
|
||||||
if (app.debug && !(x instanceof ScriptingException)) {
|
if (app.debug && !(x instanceof ScriptingException)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue