Commit 36f31d1b authored by Likun Zhang's avatar Likun Zhang
Browse files

Avoid catch all the exceptions.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221@2213 e5f2f494-b856-4b98-b285-d166d9295462
parent de38fde5
......@@ -348,7 +348,7 @@ AuthSrvImpl::processAxfrQuery(const IOMessage& io_message, Message& message,
axfr_client_.sendXfroutRequestInfo(io_message.getSocket().getNative(),
io_message.getData(),
io_message.getDataSize());
} catch (const exception& err) { // XXX: avoid catch-all catch!!
} catch (const XfroutError& err) { // XXX: avoid catch-all catch!!
if (is_xfrin_connection_established_) {
axfr_client_.disconnect();
is_xfrin_connection_established_ = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment