Removed logging of utils.Exec
							parent
							
								
									0ffde681cf
								
							
						
					
					
						commit
						2a3506680a
					
				| 
						 | 
				
			
			@ -43,10 +43,10 @@ func Exec(command string, args []string) string {
 | 
			
		|||
	err := cmd.Run()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		// TODO: Deal with possibility of error in command, allow explicit error handling and return proper formatted stderr
 | 
			
		||||
		log.Println(fmt.Sprint(err) + ": " + stderr.String()) // ... Silence...
 | 
			
		||||
		// log.Println(fmt.Sprint(err) + ": " + stderr.String()) // ... Silence...
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	log.Println("Result: " + out.String()) // ... Silence ...
 | 
			
		||||
	// log.Println("Result: " + out.String()) // ... Silence ...
 | 
			
		||||
 | 
			
		||||
	return out.String()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue