diff options
-rw-r--r-- | server/src/transactionhandler.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/transactionhandler.cc b/server/src/transactionhandler.cc index fd4705a..d167029 100644 --- a/server/src/transactionhandler.cc +++ b/server/src/transactionhandler.cc @@ -344,12 +344,12 @@ 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())); + } catch( ... ) { + ERR(server, "Unknown exception in handleRequest\n"); + return error_box(xml_encode("Unknown exception in handleRequest.")); } answer += "</pracro>\n"; |