@@ -46,5 +46,8 @@ func (b *Bootstrapper) Bootstrap() *Bootstrapper {
}
func (b *Bootstrapper) Listen(addr string, cfgs ...iris.Configurator) {
- b.Run(iris.Addr(addr), cfgs...)
+ err := b.Run(iris.Addr(addr), cfgs...)
+ if err != nil {
+ return
+ }