1
0
Fork 0
forked from External/ergo

avoid some uses of Sprintf for loglines

This commit is contained in:
Shivaram Lingamneni 2018-12-31 11:33:42 -05:00
parent ec4f1c189a
commit c2b2559ab4
6 changed files with 11 additions and 11 deletions

View file

@ -836,7 +836,7 @@ func (server *Server) setupPprofListener(config *Config) {
}
go func() {
if err := ps.ListenAndServe(); err != nil {
server.logger.Error("rehash", fmt.Sprintf("pprof listener failed: %v", err))
server.logger.Error("rehash", "pprof listener failed", err.Error())
}
}()
server.pprofServer = &ps