func recordTryError(try *parallel.Try, err error) {
	logger.Infof("%v", err)
	_ = try.Start(func(_ <-chan struct{}) (io.Closer, error) {
		return nil, errors.Trace(err)
	})
}
// recordTryError starts a try that just returns the given error.
// This is so that we can use the usual Try error combination
// logic even for errors that happen before we start a try.
recordTryError starts a try that just returns the given error.
This is so that we can use the usual Try error combination
logic even for errors that happen before we start a try.
// recordTryError starts a try that just returns the given error . // This is so that we can use the usual Try error combination // logic even for errors that happen before we start a try .
func recordTryError(try *parallel.Try, err error) {
	logger.Infof("%v", err)
	_ = try.Start(func(_ <-chan struct{}) (io.Closer, error) {
		return nil, errors.Trace(err)
	})
}
func recordTryError ( try * parallel . Try , err error ) { logger . Infof ( " " , err ) _ = try . Start ( func ( _ <- chan struct { } ) ( io . Closer , error ) { return nil , errors . Trace ( err ) } ) }
recordTryError starts a try that just returns the given error.
recordTryError starts a try that just returns the given error .