From da1fde674dd144738a4e5d03f9813fd68ba409b9 Mon Sep 17 00:00:00 2001 From: Nam Chu Hoai Date: Fri, 17 Nov 2023 13:35:23 +0300 Subject: [PATCH] log out message instead of ID (#2934) ### Description ### Drive-by changes ### Related issues ### Backward compatibility ### Testing --- typescript/cli/src/send/message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/cli/src/send/message.ts b/typescript/cli/src/send/message.ts index 1b90c346c..d835d75d9 100644 --- a/typescript/cli/src/send/message.ts +++ b/typescript/cli/src/send/message.ts @@ -111,7 +111,7 @@ async function executeDelivery({ txReceipt = await multiProvider.handleTx(origin, messageTx); const message = core.getDispatchedMessages(txReceipt)[0]; logBlue(`Sent message from ${origin} to ${recipient} on ${destination}.`); - logBlue(`Message ID: ${message.id}`); + logBlue(`Message: ${JSON.stringify(message)}`); } catch (e) { errorRed( `Encountered error sending message from ${origin} to ${destination}`,