mirror of
				https://github.com/Crazyco-xyz/48hr.email.git
				synced 2025-11-03 23:16:31 +01:00 
			
		
		
		
	add debug statement to failing to if-branch
				
					
				
			This commit is contained in:
		
							parent
							
								
									367c4a688b
								
							
						
					
					
						commit
						e158fac414
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -29,6 +29,8 @@ class MailRepository {
 | 
				
			||||||
	add(to, mailSummary) {
 | 
						add(to, mailSummary) {
 | 
				
			||||||
		if (to !== undefined) {
 | 
							if (to !== undefined) {
 | 
				
			||||||
			this.mailSummaries.set(to.toLowerCase(), mailSummary)
 | 
								this.mailSummaries.set(to.toLowerCase(), mailSummary)
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								debug('IMAP reported no recipient for mail, ignoring', mailSummary)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue