Fix panic during trace requests (#8448)
While Tracing requests on server, type assertion on logger.ResponseWriter caused nil pointer exception because of recordAPIStats{} being used as ResponseWriter. This PR avoids the type assertion and initializes a new logger.ResponseWriter. Fixes regression introduced in #8003master
parent
980bf78b4d
commit
10b526ed86
Loading…
Reference in new issue