Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(django): Fix errors when instrumenting Django cache
I was testing Spotlight with Sentry and realized things started to get slow and crashy. It looks like sometimes `args` is just an empty array on cache's `_instruments_call` causing lots of exceptions being thrown. This patch fixes that with explicit length checks and also adds a note for the missing instrumentation for `get_or_set` method. This might be related to #2122 and #3300.
- Loading branch information