summaryrefslogtreecommitdiff
path: root/server/src/transactionhandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/transactionhandler.cc')
-rw-r--r--server/src/transactionhandler.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/src/transactionhandler.cc b/server/src/transactionhandler.cc
index 967b7e9..f549192 100644
--- a/server/src/transactionhandler.cc
+++ b/server/src/transactionhandler.cc
@@ -102,8 +102,8 @@ static std::string handleRequest(Transaction &transaction, Environment &env,
while(i != transaction.requests.end()) {
Request &request = *i;
- PRACRO_DEBUG(server, "Handling request - macro: %s, template: %s\n",
- request.macro.c_str(), request.templ.c_str());
+ DEBUG(server, "Handling request - macro: %s, template: %s\n",
+ request.macro.c_str(), request.templ.c_str());
// Read and parse the template file.
TemplateParser tp(env.templatelist.getLatestVersion(request.templ));
@@ -270,21 +270,21 @@ std::string handleTransaction(Transaction &transaction, Environment &env,
try {
answer += handleCommits(transaction, env, session);
} catch( std::exception &e ) {
- PRACRO_ERR(server, "Commit error: %s\n", e.what());
+ ERR(server, "Commit error: %s\n", e.what());
return error_box(xml_encode(e.what()));
}
try {
answer += handleRequest(transaction, env, session);
} catch( std::exception &e ) {
- PRACRO_ERR(server, "Request error: %s\n", e.what());
+ ERR(server, "Request error: %s\n", e.what());
return error_box(xml_encode(e.what()));
}
answer += "</pracro>\n";
- PRACRO_DEBUG(server, "Done handling transaction\n");
- PRACRO_DEBUG(serverxml, "%s\n", answer.c_str());
+ DEBUG(server, "Done handling transaction\n");
+ DEBUG(serverxml, "%s\n", answer.c_str());
return answer;
}