mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-07 06:03:09 -06:00
Put a log entry in that I might stand a chance of finding
This commit is contained in:
parent
1806fd9e2f
commit
67a70d0baa
|
|
@ -31,6 +31,7 @@ import (
|
|||
"github.com/matrix-org/dendrite/syncapi/types"
|
||||
"github.com/matrix-org/gomatrixserverlib"
|
||||
"github.com/nats-io/nats.go"
|
||||
"github.com/sirupsen/logrus"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
|
@ -380,6 +381,7 @@ func (s *OutputRoomEventConsumer) onRetireInviteEvent(
|
|||
if err != nil && err != sql.ErrNoRows {
|
||||
sentry.CaptureException(err)
|
||||
// panic rather than continue with an inconsistent database
|
||||
logrus.WithError(err).Error("XXX: Remove invite failure")
|
||||
log.WithFields(log.Fields{
|
||||
"event_id": msg.EventID,
|
||||
log.ErrorKey: err,
|
||||
|
|
|
|||
Loading…
Reference in a new issue