mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-10-31 12:18:24 +00:00 
			
		
		
		
	Quieter logging for stateres failure at missing prev events (#14346)
This commit is contained in:
		
							parent
							
								
									e9a4343cb2
								
							
						
					
					
						commit
						d10a85ec9e
					
				
							
								
								
									
										1
									
								
								changelog.d/14346.misc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								changelog.d/14346.misc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| Concisely log a failure to resolve state due to missing `prev_events`. | ||||
| @ -1065,10 +1065,9 @@ class FederationEventHandler: | ||||
|                 state_res_store=StateResolutionStore(self._store), | ||||
|             ) | ||||
| 
 | ||||
|         except Exception: | ||||
|         except Exception as e: | ||||
|             logger.warning( | ||||
|                 "Error attempting to resolve state at missing prev_events", | ||||
|                 exc_info=True, | ||||
|                 "Error attempting to resolve state at missing prev_events: %s", e | ||||
|             ) | ||||
|             raise FederationError( | ||||
|                 "ERROR", | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user