mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +01:00
Don't complain about non-existent ice-servers.json.
This commit is contained in:
parent
450601f0e8
commit
0563356180
1 changed files with 3 additions and 1 deletions
|
@ -79,7 +79,9 @@ func updateICEConfiguration() *configuration {
|
|||
if ICEFilename != "" {
|
||||
file, err := os.Open(ICEFilename)
|
||||
if err != nil {
|
||||
log.Printf("Open %v: %v", ICEFilename, err)
|
||||
if !os.IsNotExist(err) {
|
||||
log.Printf("Open %v: %v", ICEFilename, err)
|
||||
}
|
||||
} else {
|
||||
defer file.Close()
|
||||
d := json.NewDecoder(file)
|
||||
|
|
Loading…
Reference in a new issue