LOG_ERROR(logger, SRVCOMM_ADDRESS_FAIL).arg(e.what());
try {
setAddresses(service, addressStore);
- }
- catch (const exception& e2) {
+ } catch (const exception& e2) {
LOG_FATAL(logger, SRVCOMM_ADDRESS_UNRECOVERABLE).arg(e2.what());
- // If we can't set the new ones, nor the old ones, at last
+ // If we can't set the new ones, nor the old ones, at least
// releasing everything should work. If it doesn't, there isn't
// anything else we could do.
- AddressList empty;
- setAddresses(service, empty);
+ setAddresses(service, AddressList());
addressStore.clear();
}
//Anyway the new configure has problem, we need to notify configure