BIND 10 trac775, updated. 572ac2cf62e18f7eb69d670b890e2a3443bfd6e7 [trac775]remove catch all exception to only catch configure exception
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Apr 20 03:13:40 UTC 2011
The branch, trac775 has been updated
via 572ac2cf62e18f7eb69d670b890e2a3443bfd6e7 (commit)
from 44f4b82933783502be198c0ab0a81020fb3fe510 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 572ac2cf62e18f7eb69d670b890e2a3443bfd6e7
Author: hanfeng <ben.han.cn at gmail.com>
Date: Wed Apr 20 11:13:18 2011 +0800
[trac775]remove catch all exception to only catch configure exception
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/main.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/main.cc b/src/bin/auth/main.cc
index e54ec0e..77e7df4 100644
--- a/src/bin/auth/main.cc
+++ b/src/bin/auth/main.cc
@@ -178,7 +178,7 @@ main(int argc, char* argv[]) {
try {
configureAuthServer(*auth_server, config_session->getFullConfig());
auth_server->updateConfig(ElementPtr());
- } catch (const isc::Exception& ex) {
+ } catch (const AuthConfigError& ex) {
cout << "[bin10-auth] Server load config failed:" << ex.what() << endl;
}
More information about the bind10-changes
mailing list