Internal changes

PiperOrigin-RevId: 667601342
pull/17943/head
Protobuf Team Bot 3 months ago committed by Copybara-Service
parent e26ef8683e
commit beb4bdbed3
  1. 2
      src/google/protobuf/message_lite.cc

@ -630,7 +630,7 @@ bool MessageLite::AppendPartialToCord(absl::Cord* output) const {
const size_t size = ByteSizeLong();
const size_t total_size = size + output->size();
if (size > INT_MAX) {
ABSL_LOG(ERROR) << "Exceeded maximum protobuf size of 2GB.";
ABSL_LOG(ERROR) << "Exceeded maximum protobuf size of 2GB: " << size;
return false;
}

Loading…
Cancel
Save