Adjust matrix-commander's logging
This commit is contained in:
		
					parent
					
						
							
								e0b41ed1f6
							
						
					
				
			
			
				commit
				
					
						4479bf4cfa
					
				
			
		
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -176,9 +176,10 @@ def notify_matrix(update_data: Dict[str, List[Tuple[str, str]]]) -> None:
 | 
			
		|||
 | 
			
		||||
    message = template.render(repositories=update_data, date=date)
 | 
			
		||||
 | 
			
		||||
    cmd = [MATRIX_COMMANDER, "--markdown", "-m", message]
 | 
			
		||||
    cmd = [MATRIX_COMMANDER, "--markdown", "--loglevel", "ERROR",
 | 
			
		||||
           "-m", message]
 | 
			
		||||
    logging.debug("Sending Matrix notification")
 | 
			
		||||
    sarge.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
 | 
			
		||||
    sarge.run(cmd, stdout=subprocess.DEVNULL)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def commit_changes(cache_file: str, repo_home: str) -> None:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue