aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Nobuaki Sukegawa <nsukeg@gmail.com>2014-11-30 19:57:14 +0900
committerGravatar Nobuaki Sukegawa <nsukeg@gmail.com>2014-12-03 23:05:45 +0900
commit4470dcba6c41a9fcb749d69b1414d7b75991bdc1 (patch)
treed328504a317f454449715e55f60a21b3189b8d29 /src
parent8ba0e3576491596f0bc40cc1159641f8910edf2a (diff)
Display element name in test error log
Diffstat (limited to 'src')
-rw-r--r--src/google/protobuf/descriptor_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/descriptor_unittest.cc b/src/google/protobuf/descriptor_unittest.cc
index 44277fa8..2ceb41e5 100644
--- a/src/google/protobuf/descriptor_unittest.cc
+++ b/src/google/protobuf/descriptor_unittest.cc
@@ -5883,8 +5883,8 @@ class AbortingErrorCollector : public DescriptorPool::ErrorCollector {
const Message *message,
ErrorLocation location,
const string &error_message) {
- GOOGLE_LOG(FATAL) << "AddError() called unexpectedly: " << filename << ": "
- << error_message;
+ GOOGLE_LOG(FATAL) << "AddError() called unexpectedly: " << filename << " ["
+ << element_name << "]: " << error_message;
}
private:
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(AbortingErrorCollector);