Skip to content

Commit d13d899

Browse files
Galileyrclsilver
authored andcommitted
remove gin request log
Signed-off-by: Wesley GALIPO <[email protected]>
1 parent b6254f0 commit d13d899

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/server.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ func generatePathPrefixAPI(pathPrefix string) string {
172172
// build registers all routes and their corresponding handlers for the Server's API
173173
func (s *Server) build(ctx context.Context) {
174174
if s.httpHandler == nil {
175-
ginEngine := gin.Default()
175+
ginEngine := gin.New()
176+
ginEngine.Use(gin.Recovery())
176177

177178
ginEngine.
178179
Group("/",

0 commit comments

Comments
 (0)