Commit 572ac2cf authored by hanfeng's avatar hanfeng
Browse files

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

parent 44f4b829
......@@ -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;
}
......
Supports Markdown
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