use log panic in webrtc.
This commit is contained in:
parent
7aa7e0eacb
commit
733c39412b
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user