Fix ERROR logging.
GitOrigin-RevId: 39570dcd2c009b64e08f3c9193bddc2d8dfe656e
This commit is contained in:
parent
1c78b6994a
commit
8f771b8666
@ -36,7 +36,7 @@ void PartsManager::set_streaming_offset(int64 offset) {
|
|||||||
};
|
};
|
||||||
if (offset < 0 || need_check_ || (!unknown_size_flag_ && get_size() < offset)) {
|
if (offset < 0 || need_check_ || (!unknown_size_flag_ && get_size() < offset)) {
|
||||||
streaming_offset_ = 0;
|
streaming_offset_ = 0;
|
||||||
LOG(ERROR) << "Ignore streaming_offset " << offset << ", need_check_ = " << need_check_
|
LOG_IF(ERROR, offset != 0) << "Ignore streaming_offset " << offset << ", need_check_ = " << need_check_
|
||||||
<< ", unknown_size_flag_ = " << unknown_size_flag_ << ", size = " << get_size();
|
<< ", unknown_size_flag_ = " << unknown_size_flag_ << ", size = " << get_size();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user