Update the Debug Handler to use the servers tracer

This commit is contained in:
Micro
2020-01-29 16:05:58 +00:00
parent 62c067adcd
commit a09eea8d4d
2 changed files with 9 additions and 13 deletions

View File

@@ -158,7 +158,7 @@ func (s *service) Run() error {
// register the debug handler
s.opts.Server.Handle(
s.opts.Server.NewHandler(
handler.DefaultHandler,
handler.NewHandler(s.Options().Server),
server.InternalHandler(true),
),
)