title: "except:" not catching all errors
body: <p>I was working on a project to give a score to vulnerabilities (CVSS) discovered based on their CVEID.
  For that purpose I used the restAPI of the NIST but I'm getting errors that are most likely due to the format of the response. For debugging purposes I wanted to ignore all errors and see which requests didn't go through
  So I used a try, except block but they are still errors.</p>
  <p>Here is my code :</p>
  <pre><code>from openpyxl import load_workbook
  from urllib import request
  import json
  from time import sleep
  
  basecolumn = 13
  baseline = 1
  
  
  wb = load_workbook('vulnerabilities.xlsm',keep_vba=True)
  ws = wb['CISA Last CVE']
  wb.save('Test2.xlsm')
  
  CVEID = &quot;temp&quot;
  lineCounter = 0
  while CVEID is not None: # While they are vulnerabilities to scan
      lineCounter +=1
      line = baseline+lineCounter
      CVEID = ws.cell(row=line,column=1).value
      if ws.cell(row=line,column=basecolumn).value is None: # Checks if CVE was already scanned previously
          with request.urlopen(&quot;https://services.nvd.nist.gov/rest/json/cve/1.0/&quot;+str(CVEID)) as response:
              print(str(CVEID))
              html = response.read()
              responseCVE = html.decode('utf8').replace(&quot;'&quot;, '&quot;') # Converts to JSON
              responseJSON = json.loads(responseCVE)
              try:
                  exploitability = responseJSON['result']['CVE_Items'][0]['impact']['baseMetricV2']['exploitabilityScore']
                  impact = responseJSON['result']['CVE_Items'][0]['impact']['baseMetricV2']['impactScore']
              except json.decoder.JSONDecodeError:
                  print(&quot;first try not working&quot;)
                  exploitability = responseJSON['result']['CVE_Items'][0]['impact']['baseMetricV3']['exploitabilityScore']
                  impact = responseJSON['result']['CVE_Items'][0]['impact']['baseMetricV3']['impactScore']
              except:
                  print(&quot;Mistery error&quot;)
  
              #print(exploitability)
              #print(impact)
              ws.cell(row=line,column=basecolumn).value = exploitability
              ws.cell(row=line, column=basecolumn+1).value = impact
              sleep(10)
      else :
          print(&quot;Already scanned &quot; + str(CVEID) +&quot; vulnerability&quot;)
          print(ws.cell(row=line, column=basecolumn).value)
      wb.save('Test2.xlsm')
  </code></pre>
  <p>And here is the error I'm getting no matter the <a href="https://i.stack.imgur.com/UeiGM.png" rel="nofollow noreferrer">errors</a> I try to raise</p>
  <p>Edit : Wow, that was such a dumb error, sorry for wasting your time</p>