Add more delete_file_reference logging.
GitOrigin-RevId: f19b9140e4feb77d10927d5e40dd82aa8a8b09ac
This commit is contained in:
parent
7d28b73f5e
commit
282edef55b
@ -164,10 +164,13 @@ void FileNode::set_remote_location(const RemoteFileLocation &remote, FileLocatio
|
||||
|
||||
bool FileNode::delete_file_reference(Slice file_reference) {
|
||||
if (remote_.type() != RemoteFileLocation::Type::Full) {
|
||||
VLOG(file_references) << "Can't delete file reference, because there is no remote location";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!remote_.full().delete_file_reference(file_reference)) {
|
||||
VLOG(file_references) << "Can't delete unmatching file reference " << format::escaped(file_reference) << ", have "
|
||||
<< format::escaped(remote_.full().get_raw_file_reference());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user