remove sentry support

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-05-09 06:29:58 -04:00
parent 581e22ac3e
commit d99bb0d267
-4
View File
@@ -56,10 +56,6 @@ tmpl_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'templates')
app = Flask(__name__, template_folder=tmpl_dir)
app.debug = bool(os.environ.get('DEBUG'))
# Send app errors to Sentry.
if 'SENTRY_DSN' in os.environ:
sentry = Sentry(app, dsn=os.environ['SENTRY_DSN'])
# Set up Bugsnag exception tracking, if desired. To use Bugsnag, install the
# Bugsnag Python client with the command "pip install bugsnag", and set the
# environment variable BUGSNAG_API_KEY. You can also optionally set