Add logging.

GitOrigin-RevId: d6f3e17e2c37ec4d04c25eb6756cfebfd325ffba
This commit is contained in:
levlam 2019-02-23 22:34:50 +03:00
parent b574f6a6c9
commit 68afd36808

View File

@ -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");
}