mirror of
https://github.com/kataras/iris.git
synced 2026-06-10 07:33:42 +00:00
Fix error handling on Listen functions
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user