}
catch( const boost::archive::archive_exception& e )
{
+ // There is a corrupted object file, continue without recovering old Services' state.
Log->print_exception_deserialize(e.what());
ifs.close();
- return -1;
+ return 0;
}
+
SerializeServiceContainer::Ptr service_container(_service_container);
IPAddrHelp = IPAddrHelper::Ptr(_ip_addr_helper);
ifs.close();