diff --git a/cmd/run.go b/cmd/run.go index 0a5fa94..e75a0eb 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -210,6 +210,8 @@ func initApp(lc fx.Lifecycle, cfg *config.Config, c *controller.Controller) *gin r := gin.New() + r.Use(gin.Recovery()) + r.Use(ginzap.GinzapWithConfig(logging.DefaultLogger().Desugar(), &ginzap.Config{ TimeFormat: time.RFC3339, UTC: true,