mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-18 14:49:57 +00:00
Change log level from Debug to Warn for candidate gathering failure
This commit is contained in:
@@ -233,7 +233,7 @@ func (w *WorkerICE) SessionID() ICESessionID {
|
|||||||
func (w *WorkerICE) connect(ctx context.Context, agent *ice.Agent, remoteOfferAnswer *OfferAnswer) {
|
func (w *WorkerICE) connect(ctx context.Context, agent *ice.Agent, remoteOfferAnswer *OfferAnswer) {
|
||||||
w.log.Debugf("gather candidates")
|
w.log.Debugf("gather candidates")
|
||||||
if err := agent.GatherCandidates(); err != nil {
|
if err := agent.GatherCandidates(); err != nil {
|
||||||
w.log.Debugf("failed to gather candidates: %s", err)
|
w.log.Warnf("failed to gather candidates: %s", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user