throw herr instead of const char*

This commit is contained in:
Doug Hoyte
2024-09-09 17:26:59 -04:00
parent 5a0d43f779
commit 4872490384

View File

@ -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");
} }
} }