req may have been unset in recycle() by the time we reach the catch clause,

so use the current thread for debugging output.
This commit is contained in:
hns 2002-09-04 16:38:28 +00:00
parent 9c8c460355
commit 78cc65f88b

View file

@ -286,7 +286,7 @@ public final class RequestEvaluator implements Runnable {
abortTransaction (false);
app.logEvent ("### Exception in "+app.getName()+"/"+req.path+": "+x);
app.logEvent ("### Exception in "+Thread.currentThread()+": "+x);
// Dump the profiling data to System.err
if (app.debug) {
((Transactor) Thread.currentThread ()).timer.dump (System.err);