title: NameError: name 'TypeError' is not defined in Apache logs
body: <p>My apache error logs are full of this repeating error message. While my app works fine and apache continues to serve it I am unable to find the cause of other errors because for some reason this is the only thing being logged.</p>
  <p>My app is a Django app running apache2 and mod-wsgi</p>
  <pre><code>NameError: name 'TypeError' is not defined
  Exception ignored in: &lt;function BaseEventLoop.__del__ at 0x7fefd6b13040&gt;
  Traceback (most recent call last):
    File &quot;/usr/lib/python3.8/asyncio/base_events.py&quot;, line 654, in __del__
  NameError: name 'ResourceWarning' is not defined
  Exception ignored in: &lt;function Local.__del__ at 0x7fefd6b0b430&gt;
  Traceback (most recent call last):
    File &quot;/srv/example/env/lib/python3.8/site-packages/asgiref/local.py&quot;, line 96, in __del__
  </code></pre>