analytics: don't raise if tap doesn't exist.
This commit is contained in:
		
							parent
							
								
									6a4af80b38
								
							
						
					
					
						commit
						ebe45490b6
					
				@ -63,7 +63,9 @@ module Utils
 | 
			
		||||
 | 
			
		||||
      def report_exception(exception, options = {})
 | 
			
		||||
        if exception.is_a?(BuildError) &&
 | 
			
		||||
           exception.formula.tap && !exception.formula.tap.private?
 | 
			
		||||
           exception.formula.tap &&
 | 
			
		||||
           exception.formula.tap.installed? &&
 | 
			
		||||
           !exception.formula.tap.private?
 | 
			
		||||
          report_event("BuildError", exception.formula.full_name)
 | 
			
		||||
        end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user