chore: Also log the message received time when handling message creation event.
This commit is contained in:
parent
43df20c25d
commit
346988e604
|
@ -130,6 +130,7 @@ func onMessageCreated(
|
|||
s.log.WithFields(logrus.Fields{
|
||||
"messageID": message.ID,
|
||||
"subject": logging.Sensitive(message.Subject),
|
||||
"date": message.Time,
|
||||
}).Info("Handling message created event")
|
||||
|
||||
full, err := s.client.GetFullMessage(ctx, message.ID, usertypes.NewProtonAPIScheduler(s.panicHandler), proton.NewDefaultAttachmentAllocator())
|
||||
|
|
Loading…
Reference in New Issue