Change transaction name for error handler so people get less confusing commit/

abort messages (see bug 107, http://helma.org/bugs/show_bug.cgi?id=107 ).
This commit is contained in:
hns 2002-10-23 13:05:44 +00:00
parent 8d85952f24
commit 8ae95ff5bb

View file

@ -107,9 +107,11 @@ public final class RequestEvaluator implements Runnable {
try { try {
// used for logging // used for logging
String txname = app.getName()+"/"+req.path; StringBuffer txname = new StringBuffer(app.getName());
txname.append ("/");
txname.append (error == null ? req.path : "error");
// begin transaction // begin transaction
localrtx.begin (txname); localrtx.begin (txname.toString());
String action = null; String action = null;