supporting the ability to push exceptions to sentry (#843)
This commit is contained in:
parent
e4f5224f42
commit
169dcb86e2
@ -20,3 +20,6 @@ smtp_mail = Mail()
|
||||
|
||||
from lemur.metrics import Metrics
|
||||
metrics = Metrics()
|
||||
|
||||
from raven.contrib.flask import Sentry
|
||||
sentry = Sentry()
|
||||
|
@ -19,7 +19,7 @@ from logging.handlers import RotatingFileHandler
|
||||
|
||||
from flask import Flask
|
||||
from lemur.common.health import mod as health
|
||||
from lemur.extensions import db, migrate, principal, smtp_mail, metrics
|
||||
from lemur.extensions import db, migrate, principal, smtp_mail, metrics, sentry
|
||||
|
||||
|
||||
DEFAULT_BLUEPRINTS = (
|
||||
@ -121,6 +121,7 @@ def configure_extensions(app):
|
||||
principal.init_app(app)
|
||||
smtp_mail.init_app(app)
|
||||
metrics.init_app(app)
|
||||
sentry.init_app(app)
|
||||
|
||||
|
||||
def configure_blueprints(app, blueprints):
|
||||
|
Loading…
Reference in New Issue
Block a user