mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-03-14 12:22:52 +00:00
12 lines
327 B
Python
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
|
|
)
|