func (r *hook) AfterProcess(ctx context.Context, cmd redis.Cmder) error {
	if span := opentracing.SpanFromContext(ctx); span != nil {
		if err := cmd.Err(); err != nil {
			handleError(ctx, "redis.error", span, err)
		}
		span.Finish()
	}
	return nil
}
// AfterProcess ends the initiated span from BeforeProcess
AfterProcess ends the initiated span from BeforeProcess
// AfterProcess ends the initiated span from BeforeProcess
func (r *hook) AfterProcess(ctx context.Context, cmd redis.Cmder) error {
	if span := opentracing.SpanFromContext(ctx); span != nil {
		if err := cmd.Err(); err != nil {
			handleError(ctx, "redis.error", span, err)
		}
		span.Finish()
	}
	return nil
}
func ( r * hook ) AfterProcess ( ctx context . Context , cmd redis . Cmder ) error { if span := opentracing . SpanFromContext ( ctx ) ; span != nil { if err := cmd . Err ( ) ; err != nil { handleError ( ctx , " " , span , err ) } span . Finish ( ) } return nil }
AfterProcess ends the initiated span from BeforeProcess
AfterProcess ends the initiated span from BeforeProcess