mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-05-17 13:10:47 +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',
|
'django_ses',
|
||||||
|
|
||||||
)
|
)
|
||||||
RAVEN_CONFIG = {
|
RAVEN_CLIENT = raven.Client(dsn=SENTRY_DSN, release=raven.fetch_git_sha(os.path.dirname(__file__)))
|
||||||
'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)
|
|
||||||
|
|
||||||
|
|
||||||
COMPRESS = not DEBUG
|
COMPRESS = not DEBUG
|
||||||
|
|
Loading…
Add table
Reference in a new issue