diff options
-rw-r--r-- | server/src/transactionhandler.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/server/src/transactionhandler.cc b/server/src/transactionhandler.cc index d167029..6ab3d89 100644 --- a/server/src/transactionhandler.cc +++ b/server/src/transactionhandler.cc @@ -107,7 +107,7 @@ static std::string handleCommits(Transaction &transaction, Environment &env, static std::string handleRequest(Request &request, Environment &env, Session &session) - throw(NotFoundException) + throw(NotFoundException, Exception) { std::string answer; @@ -347,9 +347,6 @@ std::string handleTransaction(Request &request, } 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"; |