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:
parent
9c8c460355
commit
78cc65f88b
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
@ -599,7 +599,7 @@ public final class RequestEvaluator implements Runnable {
|
|||
public synchronized void stopThread () {
|
||||
app.logEvent ("Stopping Thread "+rtx);
|
||||
Transactor t = rtx;
|
||||
// let the scripting engine know that the
|
||||
// let the scripting engine know that the
|
||||
// current transaction is being aborted.
|
||||
scriptingEngine.abort ();
|
||||
rtx = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue