code: def log_error(self, e):
          
  
          if not environ.get('CI'):
              self.log_function(e)
              if hasattr(e, 'response') and hasattr(e.response, 'text'):
                  self.log_function(e.response.text)
docs: Print errors. Stop travis-ci from leaking api keys
  
          :param e: The error
          :return: None