mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-04 05:59:48 +08:00 
			
		
		
		
	build(deps): bump opentelemetry crates to 0.27 (#6774)
This commit is contained in:
		@ -28,7 +28,7 @@ where
 | 
			
		||||
        Ok(output) => Ok(output),
 | 
			
		||||
        Err(redis_error) => match redis_error.current_context() {
 | 
			
		||||
            redis_interface::errors::RedisError::NotFound => {
 | 
			
		||||
                metrics::KV_MISS.add(&metrics::CONTEXT, 1, &[]);
 | 
			
		||||
                metrics::KV_MISS.add(1, &[]);
 | 
			
		||||
                database_call_closure().await
 | 
			
		||||
            }
 | 
			
		||||
            // Keeping the key empty here since the error would never go here.
 | 
			
		||||
@ -74,7 +74,7 @@ where
 | 
			
		||||
        }),
 | 
			
		||||
        (Err(redis_error), _) => match redis_error.current_context() {
 | 
			
		||||
            redis_interface::errors::RedisError::NotFound => {
 | 
			
		||||
                metrics::KV_MISS.add(&metrics::CONTEXT, 1, &[]);
 | 
			
		||||
                metrics::KV_MISS.add(1, &[]);
 | 
			
		||||
                database_call().await
 | 
			
		||||
            }
 | 
			
		||||
            // Keeping the key empty here since the error would never go here.
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user