mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-27 04:35:33 +00:00
verbose error message
This commit is contained in:
parent
0f73c0f331
commit
0627a803ea
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user