Integrate ocis-graph-explorer with ocis-konnect

This commit is contained in:
Thomas Müller
2020-01-27 16:12:16 +01:00
parent a1fd96f11d
commit 950fb7e8b2
5 changed files with 18 additions and 16 deletions

View File

@@ -152,7 +152,14 @@ func Server(cfg *config.Config) cli.Command {
}
gr.Add(func() error {
return server.Run()
err := server.Run()
if err != nil {
logger.Error().
Err(err).
Str("transport", "http").
Msg("Failed to start server")
}
return err
}, func(_ error) {
logger.Info().
Str("transport", "http").