Better error message on broken database.
GitOrigin-RevId: 3f26c55916d5dcdf0b53993d82b61b5fa7ee56ac
This commit is contained in:
parent
7b0d468aeb
commit
ed53b1a819
@ -1266,7 +1266,7 @@ static void parse(unique_ptr<MessageContent> &content, ParserT &parser) {
|
||||
break;
|
||||
}
|
||||
default:
|
||||
UNREACHABLE();
|
||||
LOG(FATAL) << "Have unknown message content type " << static_cast<int32>(content_type);
|
||||
}
|
||||
if (is_bad) {
|
||||
LOG(ERROR) << "Load a message with an invalid content of type " << content_type;
|
||||
|
Loading…
Reference in New Issue
Block a user