mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-17 16:58:50 +00:00
throw herr instead of const char*
This commit is contained in:
@ -211,7 +211,7 @@ std::string_view decodeEventPayload(lmdb::txn &txn, Decompressor &decomp, std::s
|
|||||||
if (outCompressedSize) *outCompressedSize = raw.size();
|
if (outCompressedSize) *outCompressedSize = raw.size();
|
||||||
return buf;
|
return buf;
|
||||||
} else {
|
} else {
|
||||||
throw("Unexpected first byte in EventPayload");
|
throw herr("Unexpected first byte in EventPayload");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user