1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-31 08:47:03 +00:00

Fix error handling on Listen functions

This commit is contained in:
Gerasimos Maropoulos
2016-07-31 15:01:28 +03:00
parent 08e6ea31de
commit 922248bbf1

View File

@@ -569,7 +569,7 @@ func (s *ServerList) OpenAll() error {
// we don't care about performance on initialization,
// we must make sure that the previous servers are running before closing them
s.CloseAll()
break
return err
}
if i == l {
s.mux.setHostname(s.servers[i].Hostname())