title: how to continue scraping even with error msg
body: <p>I am running my web scraping script which gathers thousands of data. The problem is it keeps stopping when there is an error . I want it just log the error and continue to the next url. Here is what I currently have in regards to exception</p>
  
  <pre><code>uClient3 = ''
  while uClient3 == '':
      try:
         uClient3 = requests.get(fsgsubcard2ref)
         print("Proceding to the next level in...")
  
      except:
          print("Connection refused by the server..")
          print("Let me sleep for 7 seconds")
          print("ZZzzzz...")
          time.sleep(8)
          print("Was a nice sleep, now let me continue...")
  
          continue
  </code></pre>
  
  <p>how can I prevent the error from stopping the script and logging it ? </p>