MessateReceiver.maybeUpdateTimestamp: Annotate group identifier for log
This commit is contained in:
parent
ec04e520ec
commit
fb31a02d88
1 changed files with 4 additions and 1 deletions
|
@ -1863,8 +1863,11 @@ export default class MessageReceiver
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (!conversation) {
|
if (!conversation) {
|
||||||
|
const idForLogging = envelope.groupId
|
||||||
|
? `groupv2(${envelope.groupId})`
|
||||||
|
: envelope.sourceUuid;
|
||||||
log.info(
|
log.info(
|
||||||
`maybeUpdateTimestamp/${timestamp}: No conversation found for identifier ${identifier}`
|
`maybeUpdateTimestamp/${timestamp}: No conversation found for identifier ${idForLogging}`
|
||||||
);
|
);
|
||||||
return envelope;
|
return envelope;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue