Change filewalker implementation to use a pool

This commit is contained in:
Dane Everitt
2020-07-16 21:51:31 -07:00
parent 7e1b7e7f36
commit f3c8220bd9
5 changed files with 102 additions and 81 deletions

View File

@@ -33,7 +33,7 @@ func TrackedError(err error) *RequestError {
// generated this server for the purposes of logging.
func TrackedServerError(err error, s *server.Server) *RequestError {
return &RequestError{
Err: err,
Err: errors.WithStack(err),
Uuid: uuid.Must(uuid.NewRandom()).String(),
Message: "",
server: s,