Add logging.
GitOrigin-RevId: d6f3e17e2c37ec4d04c25eb6756cfebfd325ffba
This commit is contained in:
parent
b574f6a6c9
commit
68afd36808
@ -165,6 +165,7 @@ Result<FileLoader::PrefixInfo> FileUploader::on_update_local_location(const Loca
|
||||
if (local_is_ready) {
|
||||
CHECK(!fd_.empty());
|
||||
local_size = fd_.get_size();
|
||||
LOG(INFO) << "Set file local_size to " << local_size;
|
||||
if (local_size == 0) {
|
||||
return Status::Error("Can't upload empty file");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user