mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	refactor: use Debug impl instead of Display impl for logging errors (#5301)
				
					
				
			This commit is contained in:
		| @ -101,7 +101,7 @@ impl<T: PTError + std::fmt::Debug + std::fmt::Display> From<error_stack::Report< | ||||
|     for ProcessTrackerError | ||||
| { | ||||
|     fn from(error: error_stack::Report<T>) -> Self { | ||||
|         logger::error!(error=%error.current_context()); | ||||
|         logger::error!(?error); | ||||
|         error.current_context().to_pt_error() | ||||
|     } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sanchith Hegde
					Sanchith Hegde