Better error message if exec fails
This commit is contained in:
		
							parent
							
								
									a9895432ce
								
							
						
					
					
						commit
						4ce19ae2d7
					
				@ -322,6 +322,9 @@ protected
 | 
			
		||||
        raise
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
  rescue SystemCallError
 | 
			
		||||
    # usually because exec could not be find the command that was requested
 | 
			
		||||
    raise
 | 
			
		||||
  rescue 
 | 
			
		||||
    raise BuildError.new(cmd, args, $?)
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user