mirror of
https://github.com/livekit/livekit.git
synced 2026-05-14 16:15:25 +00:00
Do not warn when notifier isn't configured (#1043)
By default there are no webhook URLs to notify, so a notifier isn't created.
This commit is contained in:
@@ -2,7 +2,6 @@ package telemetry
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"time"
|
||||
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
@@ -16,7 +15,6 @@ import (
|
||||
|
||||
func (t *telemetryService) NotifyEvent(ctx context.Context, event *livekit.WebhookEvent) {
|
||||
if t.notifier == nil {
|
||||
logger.Warnw("failed to notify webhook", errors.New("no notifier"), "event", event.Event)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user