Skip to content

Commit

Permalink
print extra when ignoring event
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Apr 3, 2019
1 parent c0ede9a commit 1ff3725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ func HandleChannelEvent(ctx context.Context, db *sqlx.DB, rp *redis.Pool, eventT

// no trigger, noop, move on
if trigger == nil {
logrus.WithField("channel_id", event.ChannelID()).WithField("event_type", eventType).Info("ignoring event, no trigger found")
logrus.WithField("channel_id", event.ChannelID()).WithField("event_type", eventType).WithField("extra", event.Extra()).Info("ignoring channel event, no trigger found")
return nil, nil
}

Expand Down

0 comments on commit 1ff3725

Please sign in to comment.