mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Consolidating raven config.
This commit is contained in:
parent
a9ec5cb70d
commit
b565421895
1 changed files with 1 additions and 7 deletions
|
@ -586,13 +586,7 @@ if not DEVELOPMENT:
|
|||
'django_ses',
|
||||
|
||||
)
|
||||
RAVEN_CONFIG = {
|
||||
'dsn': SENTRY_DSN,
|
||||
# If you are using git, you can also automatically configure the
|
||||
# release based on the git info.
|
||||
'release': raven.fetch_git_sha(os.path.dirname(__file__)),
|
||||
}
|
||||
RAVEN_CLIENT = raven.Client(RAVEN_CONFIG)
|
||||
RAVEN_CLIENT = raven.Client(dsn=SENTRY_DSN, release=raven.fetch_git_sha(os.path.dirname(__file__)))
|
||||
|
||||
|
||||
COMPRESS = not DEBUG
|
||||
|
|
Loading…
Add table
Reference in a new issue