mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	transfer: Log when local emoji files are missing.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							fa28e3aa0f
						
					
				
				
					commit
					f3473defe1
				
			@@ -119,7 +119,7 @@ def _transfer_emoji_to_s3(realm_emoji: RealmEmoji) -> None:
 | 
			
		||||
            upload_emoji_image(f, realm_emoji.file_name, realm_emoji.author, backend=s3backend)
 | 
			
		||||
            logging.info("Uploaded emoji file in path %s", emoji_path)
 | 
			
		||||
    except FileNotFoundError:  # nocoverage
 | 
			
		||||
        pass
 | 
			
		||||
        logging.error("Emoji %d could not be loaded from local disk", realm_emoji.id)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def transfer_emoji_to_s3(processes: int) -> None:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user