Skip to content

Commit

Permalink
throw herr instead of const char*
Browse files Browse the repository at this point in the history
  • Loading branch information
hoytech committed Sep 9, 2024
1 parent 5a0d43f commit 4872490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down

0 comments on commit 4872490

Please sign in to comment.