From 726dcde016b56f9972b587d9324aa9dbf8bc9e78 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 19 Dec 2017 11:14:02 +0000 Subject: [PATCH] more logging --- src/github.com/matrix-org/dendrite/roomserver/input/events.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/github.com/matrix-org/dendrite/roomserver/input/events.go b/src/github.com/matrix-org/dendrite/roomserver/input/events.go index 18c2f6c2..105719c3 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/input/events.go +++ b/src/github.com/matrix-org/dendrite/roomserver/input/events.go @@ -98,8 +98,10 @@ func processRoomEvent( logger.Info("Store event") roomNID, stateAtEvent, err := db.StoreEvent(ctx, event, authEventNIDs) if err != nil { + logger.Warnf("Store event failed: %s", err) return err } + logger.Info("Event stored") if input.Kind == api.KindOutlier { // For outliers we can stop after we've stored the event itself as it