mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user