Browse Source

[trac775]remove catch all exception to only catch configure exception

hanfeng 14 years ago
parent
commit
572ac2cf62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/auth/main.cc

+ 1 - 1
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;
         }