forked from mirror/mautrix-discord
Add missing error to log line
This commit is contained in:
parent
92c5407359
commit
0e12bd58d6
1 changed files with 1 additions and 1 deletions
|
@ -1496,7 +1496,7 @@ func (portal *Portal) HandleMatrixReadReceipt(brUser bridge.User, eventID id.Eve
|
|||
}
|
||||
resp, err := sender.Session.ChannelMessageAckNoToken(msg.DiscordProtoChannelID(), msg.DiscordID)
|
||||
if err != nil {
|
||||
portal.log.Warnfln("Failed to handle read receipt for %s/%s from %s: %v", msg.MXID, msg.DiscordID, sender.MXID)
|
||||
portal.log.Warnfln("Failed to handle read receipt for %s/%s from %s: %v", msg.MXID, msg.DiscordID, sender.MXID, err)
|
||||
} else if resp.Token != nil {
|
||||
portal.log.Debugfln("Marked %s/%s as read by %s (and got unexpected non-nil token %s)", msg.MXID, msg.DiscordID, sender.MXID, *resp.Token)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue