Possibility of unhandled exception during diskcache usage #11767
Labels
DEV: backend
Python, databases, networking, filesystem...
help wanted
Open source contributors welcome
P2 - normal
Priority: Nice to have
Milestone
Observed behavior
A very odd behaviour whereby diskcache seems to lose track of its transaction id.
Errors and logs
Expected behavior
Our CustomDjangoCache object should also handle AssertionErrors:
kolibri/kolibri/deployment/default/custom_django_cache.py
Line 7 in fc94f27
Might be simplest to do a small refactor to create a class level
handled errors
tuple, and then use that in each try/except block to handle.User-facing consequences
Very limited, has only been observed once in testing.
Context
First reported here: #11765 (comment)
The text was updated successfully, but these errors were encountered: