title: Python - Exception gives 'Connection aborted' - how can I skip it and continue
body: <p>So basically i'm using requests where I sometimes enter a URL and gives me an error saying:</p>
  
  <pre><code>('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
  </code></pre>
  
  <p>which is fine when I do a new requests again or with sleep which I do like this now:</p>
  
  <pre><code> except Exception as e:
          logger.error(e)
          randomtime = random.randint(1,5)
          logger.warn('ERROR - Retrying again website %s, retrying in %d secs' % (url, randomtime))
          time.sleep(randomtime)
          continue
  </code></pre>
  
  <p>and what I want to do is that whenever this error comes again as ERROR - I just want to basically 'skip' it meaning that it shouldn't give me a print of it but if there comes another error that is <strong>NOT</strong> </p>
  
  <pre><code>('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
  </code></pre>
  
  <p>then it should print the error.</p>
  
  <p><em>What do I need to do to make it print other errors but just continue with the Connection aborted without printing it?</em></p>