Use structured log
This commit is contained in:
parent
5c8f734e67
commit
0ce56eed87
2 changed files with 9 additions and 13 deletions
|
@ -632,13 +632,11 @@
|
|||
const shouldLogExpireTimerChange =
|
||||
message.isExpirationTimerUpdate() || expireTimer;
|
||||
if (shouldLogExpireTimerChange) {
|
||||
console.log(
|
||||
'Updating expireTimer for conversation',
|
||||
conversation.idForLogging(),
|
||||
'to',
|
||||
console.log("Update conversation 'expireTimer'", {
|
||||
id: conversation.idForLogging(),
|
||||
expireTimer,
|
||||
'via `handleDataMessage`'
|
||||
);
|
||||
source: 'handleDataMessage',
|
||||
});
|
||||
}
|
||||
|
||||
if (!message.isEndSession() && !message.isGroupUpdate()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue