Commit 05633561 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't complain about non-existent ice-servers.json.

parent 450601f0
...@@ -79,7 +79,9 @@ func updateICEConfiguration() *configuration { ...@@ -79,7 +79,9 @@ func updateICEConfiguration() *configuration {
if ICEFilename != "" { if ICEFilename != "" {
file, err := os.Open(ICEFilename) file, err := os.Open(ICEFilename)
if err != nil { if err != nil {
log.Printf("Open %v: %v", ICEFilename, err) if !os.IsNotExist(err) {
log.Printf("Open %v: %v", ICEFilename, err)
}
} else { } else {
defer file.Close() defer file.Close()
d := json.NewDecoder(file) d := json.NewDecoder(file)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment