I was more thinking of this place https://github.com/jojax/django-js-error-hook/pull/1/files#diff-9b77876fe451deb3281fc571c27f2eefR30