correct usage of suture

This commit is contained in:
A.Unger
2021-03-04 11:51:36 +01:00
parent a2a921454b
commit 58543a1415
4 changed files with 7 additions and 18 deletions

View File

@@ -139,7 +139,7 @@ func NewSutureService(ctx context.Context, cfg *config.Config) SutureService {
func (s SutureService) Serve() {
if err := Execute(s.cfg); err != nil {
panic(err)
return
}
}

View File

@@ -125,7 +125,8 @@ func Server(cfg *config.Config) *cli.Command {
handler, err := svc.New(svc.Logger(logger), svc.Config(cfg))
if err != nil {
logger.Fatal().Err(err).Msg("could not initialize service handler")
logger.Error().Err(err).Msg("handler init")
return err
}
{