I\'m running a Django site (via Apache/mod_python) and I use Django\'s facilities to inform me and other developers about internal server errors. Sometimes errors like those
You should be able to write a Middleware to catch the exception and you can then "silence" those specific exceptions.
https://docs.djangoproject.com/en/2.2/topics/http/middleware/