On Wed, 2020-10-07 at 06:03 -0700, Mark Sapiro wrote:
I don't know why the patch didn't work. It should have produced warning
level messages in the Django log as configured in settings(_local).py.
The patch did not give the warnings in the exception, because it was the wrong exception. The exception was not being caught.
I just modified the warning to log email addresses before looking up their id (where the exception occurred), moving it up 3 lines or so, on the basis the last email shown would be the faulty one. And it was