Skip to content

Commit

Permalink
bridgev2/portal: add event ID to handle matrix event log
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Aug 30, 2024
1 parent 7a86cb2 commit 87ca6a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bridgev2/portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ func (portal *Portal) checkConfusableName(ctx context.Context, userID id.UserID,
func (portal *Portal) handleMatrixEvent(sender *User, evt *event.Event) {
log := portal.Log.With().
Str("action", "handle matrix event").
Stringer("event_id", evt.ID).
Str("event_type", evt.Type.Type).
Logger()
ctx := log.WithContext(context.TODO())
Expand Down

0 comments on commit 87ca6a9

Please sign in to comment.