def setup(app): sentry(app) app.after_request(add_view_name)
def _setup(app): # silence flasks handlers log handlers. app.config['LOGGER_HANDLER_POLICY'] = 'never' sentry(app)