Skip to content

Commit

Permalink
Merge branch 'sentry'
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Nov 21, 2017
2 parents 4f3b5d5 + f7c0d5d commit 201e64a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions os_api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,15 @@ def create_app():
_app.extensions['loader'] = loader

CORS(_app)
# Sentry(_app, dsn=os.environ.get('SENTRY_DSN', ''))
Sentry(_app, dsn=os.environ.get('SENTRY_DSN', ''))

logging.info('OS-API app created (loader=%s)', loader)
return _app


setup_logging()

app = create_app()

setup_caching(app)
setup_stats(app)


1 change: 0 additions & 1 deletion os_api/info_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ def get_package(slug):
mr = current_app.extensions['model_registry']
if mr.has_model(slug):
return jsonify(mr.get_package(slug))

0 comments on commit 201e64a

Please sign in to comment.