if (!NetString::ReadStringFromStream(lstream, &message))
break;
} catch (std::exception&) {
+ Log(LogWarning, "cluster", "Unexpected end-of-file for cluster log: " + path);
+
/* Log files may be incomplete or corrupted. This is perfectly OK. */
break;
}
if (!dtype) {
Log(LogWarning, "cluster", "Invalid type in security attribute: " + type);
- return;
+ continue;
}
String name = security->Get("name");
if (!secobj) {
Log(LogWarning, "cluster", "Invalid object name in security attribute: " + name + " (of type '" + type + "')");
- return;
+ continue;
}
privs = security->Get("privs");