Merge "authorization_set.cpp: relax serialization of unknown tags"

This commit is contained in:
Janis Danisevskis
2018-11-13 00:14:16 +00:00
committed by Gerrit Code Review

View File

@@ -261,9 +261,8 @@ struct choose_serializer<MetaList<Tags...>> {
template <>
struct choose_serializer<> {
static OutStreams& serialize(OutStreams& out, const KeyParameter& param) {
LOG(FATAL) << "Trying to serialize unknown tag " << unsigned(param.tag)
LOG(ERROR) << "Trying to serialize unknown tag " << unsigned(param.tag)
<< ". Did you forget to add it to all_tags_t?";
abort();
return out;
}
};