mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +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 != "" {
|
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)
|
||||||
|
|
Loading…
Reference in a new issue