""" Application =========== """ from deliveryhistory import handlers # noqa:F401 from deliveryhistory import api, config from deliveryhistory.connectors import sentry if config.SENTRY_DSN: api.app.config['SENTRY_DSN'] = config.SENTRY_DSN sentry.init_sentry(config.SENTRY_DSN) app = api.app