Skip to content

Commit

Permalink
Log webhook event details. (#518)
Browse files Browse the repository at this point in the history
* Log webhook event details.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
boks1971 and github-actions[bot] authored Nov 14, 2023
1 parent e65cc3e commit 7afb922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhook/url_notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (n *URLNotifier) QueueNotify(event *livekit.WebhookEvent) error {
n.params.Logger.Warnw("failed to send webhook", err, "url", n.params.URL, "event", event.Event)
n.dropped.Add(event.NumDropped + 1)
} else {
n.params.Logger.Infow("sent webhook", "url", n.params.URL, "event", event.Event)
n.params.Logger.Infow("sent webhook", "url", n.params.URL, "event", event.Event, "eventDetails", logger.Proto(event))
}
})
return nil
Expand Down

0 comments on commit 7afb922

Please sign in to comment.