mirror of https://github.com/status-im/js-waku.git
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…
Reference in New Issue