|
@@ -384,23 +384,12 @@ bool Dhcpv6Srv::run() {
|
|
// terminate.
|
|
// terminate.
|
|
try {
|
|
try {
|
|
handleSignal();
|
|
handleSignal();
|
|
- } catch (const isc::Exception& e) {
|
|
|
|
- // ISC-derived exception occurred. The nature of this exception
|
|
|
|
- // indicates that it originated from ISC code. If this happens,
|
|
|
|
- // it will be easy to fix as it is in the code that is under
|
|
|
|
- // ISC control.
|
|
|
|
- LOG_ERROR(dhcp6_logger, DHCP6_HANDLE_SIGNAL_EXCEPTION_ISC)
|
|
|
|
- .arg(e.what());
|
|
|
|
} catch (const std::exception& e) {
|
|
} catch (const std::exception& e) {
|
|
- // Standard exception occurred. The nature of this exception
|
|
|
|
- // indicates that it was caused in non-ISC code. Fixing this
|
|
|
|
- // issue will be somewhat more difficult than the one caused
|
|
|
|
- // by ISC code.
|
|
|
|
- LOG_ERROR(dhcp6_logger, DHCP6_HANDLE_SIGNAL_EXCEPTION_STD)
|
|
|
|
|
|
+ // An (a standard or ISC) exception occurred.
|
|
|
|
+ LOG_ERROR(dhcp6_logger, DHCP6_HANDLE_SIGNAL_EXCEPTION)
|
|
.arg(e.what());
|
|
.arg(e.what());
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
// Execute ready timers for the lease database, e.g. Lease File Cleanup.
|
|
// Execute ready timers for the lease database, e.g. Lease File Cleanup.
|
|
try {
|
|
try {
|
|
LeaseMgrFactory::instance().getIOService()->poll();
|
|
LeaseMgrFactory::instance().getIOService()->poll();
|