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:
parent
8d85952f24
commit
8ae95ff5bb
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue