diff --git a/portal.go b/portal.go index 588c8e7..713f39c 100644 --- a/portal.go +++ b/portal.go @@ -627,7 +627,7 @@ func (portal *Portal) handleUndecryptableMessage(source *User, evt *events.Undec content := undecryptableMessageContent resp, err := portal.sendMessage(intent, event.EventMessage, &content, nil, evt.Info.Timestamp.UnixMilli()) if err != nil { - portal.log.Errorln("Failed to send decryption error of %s to Matrix: %v", evt.Info.ID, err) + portal.log.Errorfln("Failed to send decryption error of %s to Matrix: %v", evt.Info.ID, err) return } portal.finishHandling(nil, &evt.Info, resp.EventID, database.MsgUnknown, database.MsgErrDecryptionFailed)