Adding exception catching to protobuf parser to avoid crashing