From 9eb97267ac85b51c125bf6ff57f36592adcd5af0 Mon Sep 17 00:00:00 2001 From: Jake Taylor <jake@elixxir.io> Date: Wed, 1 Mar 2023 12:34:29 -0600 Subject: [PATCH] fixed error strings --- indexedDb/impl/dm/implementation.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indexedDb/impl/dm/implementation.go b/indexedDb/impl/dm/implementation.go index 601e2ae3..df604194 100644 --- a/indexedDb/impl/dm/implementation.go +++ b/indexedDb/impl/dm/implementation.go @@ -99,7 +99,7 @@ func buildMessage(messageID, parentID, text []byte, pubKey ed25519.PublicKey, func (w *wasmModel) Receive(messageID message.ID, nickname string, text []byte, partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8, timestamp time.Time, round rounds.Round, mType dm.MessageType, status dm.Status) uint64 { - parentErr := "failed to Receive" + parentErr := "[DM indexedDB] failed to Receive" jww.TRACE.Printf("[DM indexedDB] Receive(%s)", messageID) uuid, err := w.receiveWrapper(messageID, nil, nickname, string(text), @@ -114,7 +114,7 @@ func (w *wasmModel) Receive(messageID message.ID, nickname string, text []byte, func (w *wasmModel) ReceiveText(messageID message.ID, nickname, text string, partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8, timestamp time.Time, round rounds.Round, status dm.Status) uint64 { - parentErr := "failed to ReceiveText" + parentErr := "[DM indexedDB] failed to ReceiveText" jww.TRACE.Printf("[DM indexedDB] ReceiveText(%s)", messageID) uuid, err := w.receiveWrapper(messageID, nil, nickname, text, @@ -130,7 +130,7 @@ func (w *wasmModel) ReceiveText(messageID message.ID, nickname, text string, func (w *wasmModel) ReceiveReply(messageID, reactionTo message.ID, nickname, text string, partnerKey, senderKey ed25519.PublicKey, dmToken uint32, codeset uint8, timestamp time.Time, round rounds.Round, status dm.Status) uint64 { - parentErr := "failed to ReceiveReply" + parentErr := "[DM indexedDB] failed to ReceiveReply" jww.TRACE.Printf("[DM indexedDB] ReceiveReply(%s)", messageID) uuid, err := w.receiveWrapper(messageID, &reactionTo, nickname, text, -- GitLab