mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-04-05 19:43:40 +00:00
More logging
This commit is contained in:
parent
98a1298a93
commit
49b65a7b11
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,7 @@ func (r *RoomserverInputAPI) InputRoomEvents(
|
|||
defer r.mutex.Unlock()
|
||||
for i := range request.InputRoomEvents {
|
||||
if err := processRoomEvent(ctx, r.DB, r, request.InputRoomEvents[i]); err != nil {
|
||||
util.GetLogger(ctx).Warnf("ProcessRoomEvent returned %s", err)
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
@ -74,6 +75,7 @@ func (r *RoomserverInputAPI) InputRoomEvents(
|
|||
return err
|
||||
}
|
||||
}
|
||||
util.GetLogger(ctx).Info("InputRoomEvents done")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue