Fix tootctl accounts cull not excluding domains on timeouts and certificate issues (#16433)
				
					
				
			Fixes #16410
This commit is contained in:
		
							parent
							
								
									32db7e4df6
								
							
						
					
					
						commit
						a8ef6d24d8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -308,7 +308,7 @@ module Mastodon
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        begin
 | 
					        begin
 | 
				
			||||||
          code = Request.new(:head, account.uri).perform(&:code)
 | 
					          code = Request.new(:head, account.uri).perform(&:code)
 | 
				
			||||||
        rescue HTTP::ConnectionError
 | 
					        rescue HTTP::TimeoutError, HTTP::ConnectionError, OpenSSL::SSL::SSLError
 | 
				
			||||||
          skip_domains << account.domain
 | 
					          skip_domains << account.domain
 | 
				
			||||||
        end
 | 
					        end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue