improve startup error logging

This commit is contained in:
Willy Kloucek
2022-07-05 08:41:21 +02:00
parent 25ca4150b0
commit f02591b5c3
27 changed files with 87 additions and 49 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ func Server(cfg *config.Config) *cli.Command {
Msg("Failed to start server")
}
return err
}, func(_ error) {
}, func(err error) {
logger.Info().
Str("transport", "http").
Msg("Shutting down server")