diff --git a/cmd/server.go b/cmd/server.go index c2fa803..c6995dd 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -80,7 +80,7 @@ func (s server) Run(context wisski_distillery.Context) error { zerolog.Ctx(context.Context).Info().Str("bind", s.Bind).Msg("listening public server") publicL, err := net.Listen("tcp", s.Bind) if err != nil { - return errServerListen.Wrap(err) + return errServerListen.WrapError(err) } defer publicS.Shutdown(context.Context) go func() {