use log panic in webrtc.
This commit is contained in:
parent
7aa7e0eacb
commit
733c39412b
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ func (s *WebRTC) Set() {
|
||||||
if iceServersJson != "" {
|
if iceServersJson != "" {
|
||||||
err := json.Unmarshal([]byte(iceServersJson), &s.ICEServers)
|
err := json.Unmarshal([]byte(iceServersJson), &s.ICEServers)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
log.Panic().Err(err).Msg("failed to process iceservers")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue