mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-16 08:18:51 +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();
|
||||
return buf;
|
||||
} else {
|
||||
throw("Unexpected first byte in EventPayload");
|
||||
throw herr("Unexpected first byte in EventPayload");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user