0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-26 05:07:21 +00:00
healthchecks_healthchecks/hc/debug.py

12 lines
327 B
Python

from __future__ import annotations
import re
from django.views.debug import SafeExceptionReporterFilter
class ExceptionReporterFilter(SafeExceptionReporterFilter):
# Adds "TWILIO_AUTH" to the default keywords
hidden_settings = re.compile(
"API|TOKEN|KEY|SECRET|PASS|SIGNATURE|TWILIO_AUTH", flags=re.I
)