verbose error message

This commit is contained in:
danisharora099 2022-11-16 19:06:04 +05:30
parent 0f73c0f331
commit 0627a803ea
No known key found for this signature in database
GPG Key ID: FBD2BF500037F135
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ export async function createCursor(
!message.payload ||
!message.contentTopic
) {
throw new Error("Message is missing timestamp or payload");
throw new Error("Message is missing required fields");
}
const contentTopicBytes = utf8ToBytes(message.contentTopic);