summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/transactionhandler.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/transactionhandler.cc b/server/src/transactionhandler.cc
index a52dd50..fd4705a 100644
--- a/server/src/transactionhandler.cc
+++ b/server/src/transactionhandler.cc
@@ -344,6 +344,9 @@ std::string handleTransaction(Request &request,
try {
answer += handleRequest(request, env, session);
+ } catch( Exception &e ) {
+ ERR(server, "Request error: %s\n", e.what());
+ return error_box(xml_encode(e.what()));
} catch( std::exception &e ) {
ERR(server, "Request error: %s\n", e.what());
return error_box(xml_encode(e.what()));