log out message instead of ID (#2934)

### Description

<!--
What's included in this PR?
-->

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
main-node-ci
Nam Chu Hoai 1 year ago committed by GitHub
parent 7c3bd9d14a
commit da1fde674d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      typescript/cli/src/send/message.ts

@ -111,7 +111,7 @@ async function executeDelivery({
txReceipt = await multiProvider.handleTx(origin, messageTx); txReceipt = await multiProvider.handleTx(origin, messageTx);
const message = core.getDispatchedMessages(txReceipt)[0]; const message = core.getDispatchedMessages(txReceipt)[0];
logBlue(`Sent message from ${origin} to ${recipient} on ${destination}.`); logBlue(`Sent message from ${origin} to ${recipient} on ${destination}.`);
logBlue(`Message ID: ${message.id}`); logBlue(`Message: ${JSON.stringify(message)}`);
} catch (e) { } catch (e) {
errorRed( errorRed(
`Encountered error sending message from ${origin} to ${destination}`, `Encountered error sending message from ${origin} to ${destination}`,

Loading…
Cancel
Save