mirror of
https://github.com/netbirdio/ice.git
synced 2026-05-22 17:10:58 -07:00
Improve UDPMux Error Logging
Include error in warning output if candidate gathering via UDPmux fails.
This commit is contained in:
committed by
Sean DuBois
parent
e32a520e4c
commit
4669f66673
@@ -144,7 +144,7 @@ func (a *Agent) gatherCandidatesLocal(ctx context.Context, networkTypes []Networ
|
||||
// when UDPMux is enabled, skip other UDP candidates
|
||||
if a.udpMux != nil {
|
||||
if err := a.gatherCandidatesLocalUDPMux(ctx); err != nil {
|
||||
a.log.Warnf("could not create host candidate for UDPMux")
|
||||
a.log.Warnf("could not create host candidate for UDPMux: %s", err)
|
||||
}
|
||||
delete(networks, udp)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user