Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turns off Sentry for final release #748

Merged
merged 2 commits into from
Nov 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/marvin/__init__.py
Original file line number Diff line number Diff line change
@@ -107,7 +107,7 @@ def __init__(self):

self.vermode = None
self.download = False
self.use_sentry = True
self.use_sentry = False
self.add_github_message = True
self._allowed_releases = {}

2 changes: 1 addition & 1 deletion python/marvin/data/marvin.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ check_access: False
use_token: ''

# use the Sentry error logging
use_sentry: True
use_sentry: False

# add a message to submit a new Github Issue on all MarvinErrors
add_github_message: True
4 changes: 2 additions & 2 deletions python/marvin/web/settings.py
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ class ProdConfig(Config):
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/example'
DEBUG_TB_ENABLED = False # Disable Debug toolbar
USE_X_SENDFILE = True
USE_SENTRY = True
USE_SENTRY = False
SENTRY_DSN = os.environ.get('SENTRY_DSN', None)
PERMANENT_SESSION_LIFETIME = datetime.timedelta(3600)
JWT_ACCESS_TOKEN_EXPIRES = datetime.timedelta(300)
@@ -118,7 +118,7 @@ class DockerConfig(Config):
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/example'
DEBUG_TB_ENABLED = False # Disable Debug toolbar
USE_X_SENDFILE = True
USE_SENTRY = True
USE_SENTRY = False
SENTRY_DSN = os.environ.get('SENTRY_DSN', None)
PERMANENT_SESSION_LIFETIME = datetime.timedelta(3600)
JWT_ACCESS_TOKEN_EXPIRES = datetime.timedelta(300)