Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(spotlight): Make Django middleware init even more defensive
I just got faced with a situation where even trying to do `settings.DEBUG` may trigger a Django exception if the settings are not loaded yet, hence widening the `capture_internal_exceptions()` scope for this.
- Loading branch information