2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-05 00:15:17 +00:00

[#2820] addressed review comments

This commit is contained in:
Piotrek Zadroga
2024-04-26 12:26:05 +02:00
parent 45eccb302e
commit 9b4a2d26d5
8 changed files with 44 additions and 8 deletions

View File

@@ -1136,15 +1136,13 @@ Dhcpv4Srv::run() {
} catch (const std::exception& e) {
// General catch-all exception that are not caught by more specific
// catches. This one is for exceptions derived from std::exception.
LOG_ERROR(packet4_logger, DHCP4_PACKET_PROCESS_STD_EXCEPTION)
.arg("[no hwaddr info], cid=[no info], tid=[no info]")
LOG_ERROR(packet4_logger, DHCP4_PACKET_PROCESS_STD_EXCEPTION_MAIN)
.arg(e.what());
} catch (...) {
// General catch-all exception that are not caught by more specific
// catches. This one is for other exceptions, not derived from
// std::exception.
LOG_ERROR(packet4_logger, DHCP4_PACKET_PROCESS_EXCEPTION)
.arg("[no hwaddr info], cid=[no info], tid=[no info]");
LOG_ERROR(packet4_logger, DHCP4_PACKET_PROCESS_EXCEPTION_MAIN);
}
}