[glass] Add protobuf decode error log message (#5812)

This commit is contained in:
Peter Johnson
2023-10-23 23:36:23 -07:00
committed by GitHub
parent 928e87b4f4
commit 23ea188e60
3 changed files with 18 additions and 10 deletions

View File

@@ -33,8 +33,9 @@ class ProtobufMessageDatabase {
*
* @param filename filename
* @param data FileDescriptorProto serialized data
* @return False if could not parse data
*/
void Add(std::string_view filename, std::span<const uint8_t> data);
bool Add(std::string_view filename, std::span<const uint8_t> data);
/**
* Finds a message in the database by name.