Archived
2
0

use log panic in webrtc.

This commit is contained in:
Miroslav Šedivý 2021-06-26 13:45:22 +02:00
parent 7aa7e0eacb
commit 733c39412b

View File

@ -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")
} }
} }