We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f69761e commit d31b72fCopy full SHA for d31b72f
1 file changed
spongeauth/spongeauth/settings/prod.py
@@ -1,7 +1,7 @@
1
import sentry_sdk
2
from sentry_sdk.integrations.django import DjangoIntegration
3
4
-from spongeauth.spongeauth.settings.utils import fetch_git_sha
+from .utils import fetch_git_sha
5
from .base import *
6
7
GIT_REPO_ROOT = os.path.dirname(BASE_DIR)
@@ -60,9 +60,10 @@
60
d[key.lower()] = v
61
62
sentry_sdk.init(
63
- dsn=os.environ['RAVEN_DSN'],
+ dsn=os.environ.get('RAVEN_DSN'),
64
integrations=[DjangoIntegration()],
65
- release=fetch_git_sha(GIT_REPO_ROOT)
+ release=fetch_git_sha(GIT_REPO_ROOT),
66
+ send_default_pii=True,
67
)
68
69
DATABASES = {
0 commit comments