mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-24 03:46:37 +02:00
Merge pull request #528 from panguncle/fix-server-error
fix: server start error return
This commit is contained in:
commit
edb06949e4
@ -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…
x
Reference in New Issue
Block a user