Added story identifier when debug logging

Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
Alvaro
2022-11-28 15:34:49 -07:00
committed by GitHub
parent 77f92b6cc3
commit b720ed7bd5

View File

@@ -356,7 +356,9 @@ class Message {
const placeholders = this.body.match(/\uFFFC/g);
const placeholderCount = placeholders ? placeholders.length : 0;
log.info(
`Sending a message with ${mentionCount} mentions and ${placeholderCount} placeholders`
`Sending a message with ${mentionCount} mentions and ${placeholderCount} placeholders${
this.storyContext ? `, story: ${this.storyContext.timestamp}` : ''
}`
);
}
if (this.flags) {