mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-10 00:29:01 +02:00
fix: server start error return
This commit is contained in:
parent
7c946dc919
commit
1912135a9f
@ -91,8 +91,7 @@ func (engine *Engine) Start() error {
|
||||
conf := engine.conf
|
||||
l, err := net.Listen(conf.Network, conf.Addr)
|
||||
if err != nil {
|
||||
errors.Wrapf(err, "blademaster: listen tcp: %s", conf.Addr)
|
||||
return err
|
||||
return errors.Wrapf(err, "blademaster: listen tcp: %s", conf.Addr)
|
||||
}
|
||||
|
||||
log.Info("blademaster: start http listen addr: %s", conf.Addr)
|
||||
|
Loading…
Reference in New Issue
Block a user