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:
David Zhao
2022-09-26 13:30:27 -07:00
committed by GitHub
parent a36d3b53ac
commit 3da908302a
-2
View File
@@ -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
}