Add sentry with integrations

This commit is contained in:
Galen Guyer 2019-11-03 21:07:14 -05:00
parent 1ee7198363
commit 3a4dbc7c31
No known key found for this signature in database
GPG key ID: 6E39D00D77389D4E
3 changed files with 18 additions and 1 deletions

View file

@ -60,3 +60,10 @@ WEBSOCKIFY_PATH = environ.get('PROXSTAR_WEBSOCKIFY_PATH',
'/opt/app-root/bin/websockify')
WEBSOCKIFY_TARGET_FILE = environ.get('PROXSTAR_WEBSOCKIFY_TARGET_FILE',
'/opt/app-root/src/targets')
# SENTRY
# Do not set the DSN for local development
SENTRY_DSN = environ.get("CONDITIONAL_SENTRY_DSN", "")
SENTRY_CONFIG = {
'dsn': environ.get("CONDITIONAL_SENTRY_DSN", "")
}